Powered by Invision Power Board

 
    Reply to this topicStart new topicStart Poll

> can you plz help with jumping?, i'll give credit
United Kingdom
Joe Inky
Posted: Jun 1 2008, 05:43 AM
Quote Post


Gasoline man > Everything
[*][*][*][*]

Group Icon
Group: Members
Posts: 1361
Member No.: 4484
Joined: 24-September 07

Status: (0d) [--]


hi im making a game and i can do the movement but the jumping usually screws up i want it so that the sprite faces the right direction while jumping, so it faces left when it jumps left and right when it jumps right.
but it never seems to work properley could someone help me with it please? ill give credit in it if you want ohmy.gif

This post has been edited by Joe__Inky11 on Jun 2 2008, 02:51 PM

Attached File ( Number of downloads: 4 )
Attached File  pokemon_v0.1.gmk


--------------------
user posted imageuser posted imageuser posted image
hurf durf original characters
PMEmail PosterMSN
Top
Sweden
Boomb
Posted: Jun 1 2008, 08:28 AM
Quote Post


Exploding awesomeness!
[*][*][*]

Group Icon
Group: Members
Posts: 723
Member No.: 4724
Joined: 16-November 07

Status: (0d) [--]


Use a variable (ex:dir) there 0=left and 1=right
and when you press left/right the variable changes to 0/1

And then in the step event:
if dir=1
sprite_index=spr_jumpright
else
sprite_index=spr_jumpleft


--------------------
PMEmail PosterUsers Website
Top
United Kingdom
Joe Inky
Posted: Jun 1 2008, 08:29 AM
Quote Post


Gasoline man > Everything
[*][*][*][*]

Group Icon
Group: Members
Posts: 1361
Member No.: 4484
Joined: 24-September 07

Status: (0d) [--]


thanks i appreciate it


--------------------
user posted imageuser posted imageuser posted image
hurf durf original characters
PMEmail PosterMSN
Top
Sweden
Boomb
Posted: Jun 1 2008, 08:36 AM
Quote Post


Exploding awesomeness!
[*][*][*]

Group Icon
Group: Members
Posts: 723
Member No.: 4724
Joined: 16-November 07

Status: (0d) [--]


Or you can do the basic engine and then send it to me, then i fix everything sprite related.


--------------------
PMEmail PosterUsers Website
Top
United Kingdom
Joe Inky
Posted: Jun 1 2008, 08:41 AM
Quote Post


Gasoline man > Everything
[*][*][*][*]

Group Icon
Group: Members
Posts: 1361
Member No.: 4484
Joined: 24-September 07

Status: (0d) [--]


that would be great if its not too much trouble i thought i posted a link but it musnt work ill try uploading it to a website


--------------------
user posted imageuser posted imageuser posted image
hurf durf original characters
PMEmail PosterMSN
Top
Sweden
Boomb
Posted: Jun 1 2008, 08:53 AM
Quote Post


Exploding awesomeness!
[*][*][*]

Group Icon
Group: Members
Posts: 723
Member No.: 4724
Joined: 16-November 07

Status: (0d) [--]


No problem, the file you uploaded was empty exept for some sprites and sounds(The MP3 music sound great but it makes the game huge in the end).


--------------------
PMEmail PosterUsers Website
Top
United Kingdom
Joe Inky
Posted: Jun 1 2008, 09:07 AM
Quote Post


Gasoline man > Everything
[*][*][*][*]

Group Icon
Group: Members
Posts: 1361
Member No.: 4484
Joined: 24-September 07

Status: (0d) [--]


hmm i mightve deleted the wrong file then sad.gif
well i've got to go to church now so ill remake and then send it you when i get back


--------------------
user posted imageuser posted imageuser posted image
hurf durf original characters
PMEmail PosterMSN
Top
Sweden
Boomb
Posted: Jun 3 2008, 02:15 PM
Quote Post


Exploding awesomeness!
[*][*][*]

Group Icon
Group: Members
Posts: 723
Member No.: 4724
Joined: 16-November 07

Status: (0d) [--]


Done.

Attached File ( Number of downloads: 3 )
Attached File  pokemon_v0.1.gmk


--------------------
PMEmail PosterUsers Website
Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

  Topic Options Topic Options Reply to this topicStart new topicStart Poll

 




[ Script Execution time: 0.0392 ]   [ 14 queries used ]   [ GZIP Enabled ]   [ Server Load: 1.03 ]