|
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 1In this part: - setting up the main.cpp
- creating a empty window
link to view Part 1
|
|
|
|
|
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: 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?
|
|
|
|
|
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.
|
|
|
|
|
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 . 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; } }
|
|
|
|
|
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!
|
|
|
|
|