Welcome, Guest. Please login or register.

Login with username, password and session length

 
Advanced search

1411314 Posts in 69330 Topics- by 58383 Members - Latest Member: Unicorling

April 03, 2024, 03:02:09 AM

Need hosting? Check out Digital Ocean
(more details in this thread)
  Show Posts
Pages: 1 ... 10 11 [12] 13 14 15
221  Community / Tutorials / Learn with me! A C++ and SFML RPG making tutorial! discontinued on: December 27, 2012, 02:45:13 AM
Learn with me! A C++ and SFML RPG making tutorial!  discontinued][/center]

Hello dear forum! I have decided to make a C++ and SFML tutorial for making a RPG game. The tutorial is going to be me learning with you as the game progresses. The tutorials will be in written form, in wich I have peviously done the coding, made sure that it works and then I show the code, explain it and give some tips.

Remember: I`ll be learning the same stuff as you are going to be, Just like you I`m a c++ and SFML beginner

Downloads

Part 1

In this part:
  • setting up the main.cpp
  • creating a empty window
link to view Part 1
222  Community / DevLogs / Re: Pioneers (Top 100! Phase 2 of voting) on: December 21, 2012, 09:28:39 AM
Eigen must be dead due to the end of the world passed. WE WANT SOME SORT OF UPDATE!
223  Developer / Technical / Re: need gml code help on: December 18, 2012, 10:35:46 PM
how weird, it happens ONLY when I select the ak object.
224  Developer / Technical / Re: need gml code help on: December 17, 2012, 07:16:21 AM
Does not work, I have a global mouse left pressed event, in wich the code nikki gave me is in, and I have a draw event wich contains this:

Code:

if(view_current==0)
{
 self.x=view_xview[0]+650;
 self.y=view_yview[0]+258;
 draw_self();
}
else
{
  break;
}


when I click on the ak dude, itt errors, saying that in the draw event code it is trying to draw a non existing sprite.


How to fix?
225  Community / DevLogs / Re: Papers, Please - A Dystopian Document Thriller on: December 15, 2012, 04:27:58 AM
HIGLight rulebook rule and table top if a document is missing.
226  Community / DevLogs / Re: Pioneers (Top 100! Phase 2 of voting) on: December 15, 2012, 02:30:19 AM
just had this idea- make the quests load from an external file, so we could create and exhange our own quests!
227  Community / DevLogs / Re: Papers, Please - A Dystopian Document Thriller on: December 14, 2012, 06:14:39 AM
got the new build up??
228  Community / DevLogs / Re: Pioneers (Top 100! Phase 2 of voting) on: December 13, 2012, 08:00:42 AM
How dear he say so about this game!!!?!?!!!?! Keep up the good work.Will you be streaming this weekend too?
229  Community / DevLogs / Re: The Line on: December 12, 2012, 09:45:54 AM
slowly blow the winds of time...Come this friday when my work is due for school, and I will sit at my computer, coding some stuff.
230  Community / Tutorials / Re: Game Maker Books? on: December 11, 2012, 10:35:36 AM
I migt write one after The Line is finished, although theres stuff Ive neer used.
231  Developer / Technical / Re: need gml code help on: December 11, 2012, 10:33:08 AM
Will try out ASAP

232  Community / DevLogs / Re: Pioneers (Top 100! Phase 2 of voting) on: December 11, 2012, 05:56:20 AM
Voted, hope you come up as the best.
233  Developer / Technical / Re: need gml code help on: December 08, 2012, 10:55:45 AM
anyone?
234  Developer / Technical / need gml code help on: December 08, 2012, 09:42:13 AM
why is this not working as hoped? It´s supposed to show hp images, but it doesnt show aniythng .
Code:
if (mouse_check_button_pressed(mb_left) && //hiireklikk
position_meeting(mouse_x,mouse_y,obj_oma_ak)) //ak peal
{
if(obj_oma_ak.selected==1)//kui ak valitud
{
if(obj_oma_ak.health==100)//kui health 100
{
sprite_index=s_100//näita pilti
image_index=0;
image_speed=0.25;
}
else if(obj_oma_ak.health<100 )//kui 100 ja 95 vahel
{
if(obj_oma_ak.health>95)
{
sprite_index=s_95//näita pilti
image_index=0;
image_speed=0.25;
}
}
else if(obj_oma_ak.health<95 and obj_oma_ak.health>90)//kui 95 ja 90 vahel
{
    sprite_index=s_90//näitapilti
    image_index=0
    image_speed=0.25;
}
 else if(obj_oma_ak.health<90 and obj_oma_ak.health>85)
{   
     sprite_index=s_85
     image_index=0
     image_speed=0.25
}
else if(obj_oma_ak.health<85 and obj_oma_ak.health>80)
{
sprite_index=s_80
image_index=0
image_speed=0.25

}
else if(obj_oma_ak.health<80 and obj_oma_ak.health>75)
{
sprite_index=s_75
image_index=0
image_speed=0.25

}
else if(obj_oma_ak.health<75 and obj_oma_ak.health>70)
{
sprite_index=s_70
image_index=0
image_speed=0.25

}
else if(obj_oma_ak.health<70 and obj_oma_ak.health>65)
{
sprite_index=s_65
image_index=0
image_speed=0.25

}
else if(obj_oma_ak.health<65 and obj_oma_ak.health>60)
{
sprite_index=s_60
image_index=0
image_speed=0.25

}
else if(obj_oma_ak.health<60 and obj_oma_ak.health>55)
{
sprite_index=s_55
image_index=0
image_speed=0.25

}
else if(obj_oma_ak.health<55 and obj_oma_ak.health>50)
{
sprite_index=s_50
image_index=0
image_speed=0.25

}
else if(obj_oma_ak.health<50 and obj_oma_ak.health>45)
{
sprite_index=s_45
image_index=0
image_speed=0.25

}
else if(obj_oma_ak.health<45 and obj_oma_ak.health>40)
{
sprite_index=s_40
image_index=0
image_speed=0.25

}
else if(obj_oma_ak.health<40 and obj_oma_ak.health>35)
{
sprite_index=s_35
image_index=0
image_speed=0.25

}
else if(obj_oma_ak.health<35 and obj_oma_ak.health>30)
{
sprite_index=s_30
image_index=0
image_speed=0.25

}
else if(obj_oma_ak.health<30 and obj_oma_ak.health>25)
{
sprite_index=s_25
image_index=0
image_speed=0.25

}
else if(obj_oma_ak.health<25 and obj_oma_ak.health>20)
{
sprite_index=s_20
image_index=0
image_speed=0.25

}
else if(obj_oma_ak.health<20 and obj_oma_ak.health>15)
{
sprite_index=s_15
image_index=0
image_speed=0.25

}
else if(obj_oma_ak.health<15 and obj_oma_ak.health>10)
{
sprite_index=s_10
image_index=0
image_speed=0.25

}
else if(obj_oma_ak.health<10  )
{
if(obj_oma_ak.health>0)
{
sprite_index=s_10
image_index=0
image_speed=0.25
}
}
}//ak valitud lõpp
 if(obj_oma_ak.selected==0)
{
sprite_index=empty_h;
image_index=0;
image_speed=0.25;
}
}
235  Community / DevLogs / Re: Papers, Please - A Dystopian Document Thriller on: December 08, 2012, 07:44:46 AM
need new build!
236  Community / DevLogs / Re: TIGSource Devlog Magazine! on: December 08, 2012, 07:24:36 AM
need this weeks edition
237  Community / DevLogs / Re: The Line on: December 08, 2012, 06:03:48 AM
Hourly updates:

hour 1
Whit one hour already gone, i`m sitting here, eating away on chips and drinking lemonade. No- you got it wrong, I`am coding, the health system is rapidly nearing completition.

hour 2

took some time off dev
hour 3
just a little bit until HP bars completed

hour 4

extreme fail, hp not working, need to rethink
238  Community / DevLogs / Re: Grassbox on: December 08, 2012, 05:43:38 AM
suggest possible name change, EAvision`s next years game SimCity uses an engine named "Glassbox".
239  Community / DevLogs / Re: The Line on: December 08, 2012, 05:03:09 AM
Aaaaand here we go!!!There`s a lot that needs to be done, so check back for hourly updates!
240  Community / DevLogs / Re: The Line on: December 08, 2012, 03:49:55 AM
Just a little over a hour left, hang on.
Pages: 1 ... 10 11 [12] 13 14 15
Theme orange-lt created by panic