Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AndrewAMD), 801 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
just movement #272170
06/16/09 20:07
06/16/09 20:07
Joined: Jun 2009
Posts: 148
G
gamingfan101 Offline OP
Member
gamingfan101  Offline OP
Member
G

Joined: Jun 2009
Posts: 148
hey, Im trying to recreate the original mario game from nintendo, Im not sure how to ask this to get a easy answer, so im sorry about that. But 1, what code would i use to make mario move right when press right, or jump when i press up. and 2, what code would i use to make him move (all i want is mario to move, but he doesnt move his legs or anything) Im sorry for not making my questions very clear.


Sorry, im new. I have a tendency to ask really simple questions, so please be patient.
Re: just movement [Re: gamingfan101] #272171
06/16/09 20:08
06/16/09 20:08
Joined: Nov 2007
Posts: 1,032
Croatia
croman Offline
Serious User
croman  Offline
Serious User

Joined: Nov 2007
Posts: 1,032
Croatia
c_move and ent_animate?



Ubi bene, ibi Patria.
Re: just movement [Re: croman] #272173
06/16/09 20:10
06/16/09 20:10
Joined: Jun 2009
Posts: 148
G
gamingfan101 Offline OP
Member
gamingfan101  Offline OP
Member
G

Joined: Jun 2009
Posts: 148
how would u pair the right button to making mario go right? and how would i make mario come back down after he jumps?


Sorry, im new. I have a tendency to ask really simple questions, so please be patient.
Re: just movement [Re: gamingfan101] #272176
06/16/09 20:17
06/16/09 20:17
Joined: Nov 2007
Posts: 1,032
Croatia
croman Offline
Serious User
croman  Offline
Serious User

Joined: Nov 2007
Posts: 1,032
Croatia
Code:
while(1)
{
if(key_cur) //walk
{
c_move(me, moveVector, nullvector, GLIDE);
ent_animate(me, "walk", ANM_CYCLE);
...
}
if(key_space) //jump
{
c_move(me, moveVector, nullvector, GLIDE); //moveVector.z is for up/down movement 
ent_animate(me, "jump",...);
...
}
}


something like that. if you dont understand this, i suggest you learn lite-c first. you have workshop. after that try it on your own. search the manual



Ubi bene, ibi Patria.
Re: just movement [Re: croman] #272281
06/17/09 09:12
06/17/09 09:12
Joined: Aug 2008
Posts: 2,838
take me down to the paradise c...
Cowabanga Offline
Expert
Cowabanga  Offline
Expert

Joined: Aug 2008
Posts: 2,838
take me down to the paradise c...
Quote:
hey, Im trying to recreate the original mario game from nintendo,

You still want to do a re-make for a copyrighted game?? Don't even try.

Re: just movement [Re: Cowabanga] #272282
06/17/09 09:14
06/17/09 09:14
Joined: Nov 2007
Posts: 1,032
Croatia
croman Offline
Serious User
croman  Offline
Serious User

Joined: Nov 2007
Posts: 1,032
Croatia
he didnt say he'll sell it. maybe it's for practice/learning only and maybe his main character wont even be Mario...



Ubi bene, ibi Patria.
Re: just movement [Re: croman] #272548
06/18/09 13:48
06/18/09 13:48
Joined: Jun 2009
Posts: 148
G
gamingfan101 Offline OP
Member
gamingfan101  Offline OP
Member
G

Joined: Jun 2009
Posts: 148
yeah, i wasnt going to sell, its just im new to working with this program so i thought id start with something small.


Sorry, im new. I have a tendency to ask really simple questions, so please be patient.
Re: just movement [Re: gamingfan101] #272553
06/18/09 14:47
06/18/09 14:47
Joined: May 2009
Posts: 1,816
at my pc (duh)
darkinferno Offline
Serious User
darkinferno  Offline
Serious User

Joined: May 2009
Posts: 1,816
at my pc (duh)
you gonna make the 3d mario or you want to remake the 2d ones?

Re: just movement [Re: darkinferno] #272554
06/18/09 14:56
06/18/09 14:56
Joined: Feb 2008
Posts: 337
V
Vadim647 Offline
Senior Member
Vadim647  Offline
Senior Member
V

Joined: Feb 2008
Posts: 337
normally people use gamemaker to create mario games (if you watch here, you'll see that this idea was picked up more than 1000 times...)


I switched to other account since marth 2010. Guess which.
Re: just movement [Re: Vadim647] #272555
06/18/09 15:07
06/18/09 15:07
Joined: May 2009
Posts: 1,816
at my pc (duh)
darkinferno Offline
Serious User
darkinferno  Offline
Serious User

Joined: May 2009
Posts: 1,816
at my pc (duh)
doesnt need gamemaker, as he said, its just so he can learn the (3dgs)acknex engine.. what i want to know is if he's trying to remake the side scroller or the 3d ones such as mario 64...

Page 1 of 2 1 2

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1