How to make RPG games in DSGM 5

Learn to use DS Game Maker by Example.

Re: How to make RPG games in DSGM 5

Postby memefefe » November 7th, 2011, 6:49 pm

After running this do I need to run everything new? Im sorry my brain isnt working today.

I made a small demo (not using your lib) of what Im trying to do
RPG_DEMO.dsgm
(20.47 KiB) Downloaded 260 times
Who doesnt wanna watch a weirdo tumble?
http://kawaiiweirdo.tumblr.com
memefefe
 
Posts: 931
Joined: August 19th, 2011, 3:35 am
Location: The infinite expanses of my mind

Re: How to make RPG games in DSGM 5

Postby memefefe » November 7th, 2011, 7:12 pm

When I put your code in it gave an error like length cannot be less then zero?
Who doesnt wanna watch a weirdo tumble?
http://kawaiiweirdo.tumblr.com
memefefe
 
Posts: 931
Joined: August 19th, 2011, 3:35 am
Location: The infinite expanses of my mind

Re: How to make RPG games in DSGM 5

Postby aekara » November 7th, 2011, 10:33 pm

try puting the code in a C script and uncheck the "parse DBAS"
Working on something big!

My web site here.
aekara
 
Posts: 690
Joined: July 12th, 2011, 1:24 pm
Location: Earth

Re: How to make RPG games in DSGM 5

Postby Buck_7 » November 7th, 2011, 11:21 pm

JanMulder wrote:It resets the RPG system.


Will the code fix my problem of the " invisible blocks"?
User avatar
Buck_7
 
Posts: 1460
Joined: February 19th, 2011, 1:44 am

Re: How to make RPG games in DSGM 5

Postby memefefe » November 8th, 2011, 2:11 am

Ok Ill try that, sorry for being so noobish. I just really wanna figure this out
Who doesnt wanna watch a weirdo tumble?
http://kawaiiweirdo.tumblr.com
memefefe
 
Posts: 931
Joined: August 19th, 2011, 3:35 am
Location: The infinite expanses of my mind

Re: How to make RPG games in DSGM 5

Postby JanMulder » November 8th, 2011, 5:59 pm

Buck_7 wrote:
JanMulder wrote:It resets the RPG system.


Will the code fix my problem of the " invisible blocks"?

Yes.
here and yet not here
JanMulder
 
Posts: 738
Joined: December 30th, 2010, 3:08 pm

Re: How to make RPG games in DSGM 5

Postby Buck_7 » November 9th, 2011, 5:19 pm

Yay!

I'm also trying to move the RPG sprite using the stylus. Here's my code, but when I try it out,the sprite only moves right.

Code: Select all
DSGMACTS
If Variable,Stylus.X;>;[Me],this
Start Block,,this
Move RPG Sprite,GoToColor;1;RPG_RIGHT,this
End Block,,this
If Variable,Stylus.X;<;[Me],this
Start Block,,this
Move RPG Sprite,GoToColor;1;RPG_LEFT,this
End Block,,this
If Variable,Stylus.Y;>;[Me],this
Start Block,,this
Move RPG Sprite,GoToColor;1;RPG_UP,this
End Block,,this
If Variable,Stylus.Y;<;[Me],this
Start Block,,this
Move RPG Sprite,GoToColor;1;RPG_DOWN,this
End Block,,this
User avatar
Buck_7
 
Posts: 1460
Joined: February 19th, 2011, 1:44 am

Re: How to make RPG games in DSGM 5

Postby JanMulder » November 10th, 2011, 10:26 pm

It's not just [Me], you should also say X or Y. I think you should put:
Instances[[Me]].X
or Instances[[Me]].Y
here and yet not here
JanMulder
 
Posts: 738
Joined: December 30th, 2010, 3:08 pm

Re: How to make RPG games in DSGM 5

Postby Buck_7 » November 11th, 2011, 1:11 am

The sprite only moves left or right now :|

Code: Select all
DSGMACTS
If,Stylus.Held,this
Start Block,,this
If Variable,Stylus.X;>;Instances[[Me]].X,this
Start Block,,this
Move RPG Sprite,GoToColor;1;RPG_RIGHT,this
End Block,,this
If Variable,Stylus.X;<;Instances[[Me]].X,this
Start Block,,this
Move RPG Sprite,GoToColor;1;RPG_LEFT,this
End Block,,this
If Variable,Stylus.Y;>;Instances[[Me]].Y,this
Start Block,,this
Move RPG Sprite,GoToColor;1;RPG_UP,this
End Block,,this
If Variable,Stylus.Y;<;Instances[[Me]].Y,this
Start Block,,this
Move RPG Sprite,GoToColor;1;RPG_DOWN,this
End Block,,this
End Block,,this
User avatar
Buck_7
 
Posts: 1460
Joined: February 19th, 2011, 1:44 am

Re: How to make RPG games in DSGM 5

Postby JanMulder » November 11th, 2011, 4:45 pm

That's because you say it should move left when the stylus is on the left side on the screen, and the other way around, without thinking of the fact that when the stylus is on the bottom or top side of the screen it is also on either the left or the right side.
here and yet not here
JanMulder
 
Posts: 738
Joined: December 30th, 2010, 3:08 pm

Re: How to make RPG games in DSGM 5

Postby Buck_7 » November 18th, 2011, 7:14 pm

JanMulder wrote:This should fix all problems switching rooms:
run this in the beginning of every room.
Execute Code:
Code: Select all
int i;
for (i=0;i<RPG_MAXSPRITES*2;i++) {
RPGSprite[i>=RPG_MAXSPRITES][i-(i>=RPG_MAXSPRITES)*10].InUse = false;
}
RPGBasicInfo[0].InUse = false;
RPGBasicInfo[1].InUse = false;

replace RPG_MAXSPRITES with 10 for normal users.

This is C. Make sure it doesn't want DBAS.



So what do I put in for the argument for the C Script?
User avatar
Buck_7
 
Posts: 1460
Joined: February 19th, 2011, 1:44 am

Re: How to make RPG games in DSGM 5

Postby drakodra » November 27th, 2011, 8:42 pm

uhm i really like this but i come up with a problem before th coding even starts (i think at least) i downloaded your game and it loads perfectly on my r4 and the game i created (with help from another tutorail from this forum) does load but it freezes directly at black screen what can be the problem here
drakodra
 
Posts: 2
Joined: November 27th, 2011, 8:12 pm

Re: How to make RPG games in DSGM 5

Postby TheMackshun » December 3rd, 2011, 5:12 am

Not quite sure why that would happen, if it works in the emulator then it should work on the flashcart. Maybe patch it just in case.
Go Check Out Space Destroyer!
viewtopic.php?f=13&t=1876
Info and Demo about my current Rpg, SoulBlaze.
viewtopic.php?f=13&t=2139
Pm me If you need help. I like answering questions. :D
TheMackshun
 
Posts: 212
Joined: January 20th, 2011, 2:56 am

Re: How to make RPG games in DSGM 5

Postby drakodra » December 7th, 2011, 8:01 pm

TheMackshun wrote:Not quite sure why that would happen, if it works in the emulator then it should work on the flashcart. Maybe patch it just in case.

but i downloaded the rom version (sorry if wrong spelled i'm dutch) of this game i i don't even know if that's patched and that works on my flashcard
drakodra
 
Posts: 2
Joined: November 27th, 2011, 8:12 pm

Re: How to make RPG games in DSGM 5

Postby shokugan » October 19th, 2013, 3:36 pm

Can you reupload the RPG Library again? it's kinda look like deleted.
because i want to use these librarys for learning to do the project which i decided :D
shokugan
 
Posts: 2
Joined: October 19th, 2013, 3:18 pm

Re: How to make RPG games in DSGM 5

Postby evilgoku » December 29th, 2013, 3:47 pm

am waiting for uploading Really I like RPG Games
User avatar
evilgoku
 
Posts: 14
Joined: October 8th, 2013, 10:04 pm

Re: How to make RPG games in DSGM 5

Postby BLsquared » December 29th, 2013, 4:31 pm

I see you found this. Please just start simple.
You may call me BLsquared, Commodore, or TexasBatman. Preferably BLsquared.
My avatar was made by this guy: http://christianmanga.com/smf/index.php ... bum;in=374

"Every puzzle has an answer." - Professor Layton
"In war, there is indeed no substitute for victory." - Douglas MacArthur
"Love and Peace!" - Vash the Stampede
"It's High Noon!" - McCree
Member of Memefefe's Squad
User avatar
BLsquared
 
Posts: 997
Joined: August 10th, 2011, 4:39 pm
Location: United States of America

Re: How to make RPG games in DSGM 5

Postby Buck_7 » December 29th, 2013, 10:13 pm

Here you go. Good luck!
Attachments
Jans RPG Stuff.zip
(84.21 KiB) Downloaded 224 times
User avatar
Buck_7
 
Posts: 1460
Joined: February 19th, 2011, 1:44 am

Re: How to make RPG games in DSGM 5

Postby evilgoku » December 30th, 2013, 11:44 am

Thanks a lot Buck_7 now i try
User avatar
evilgoku
 
Posts: 14
Joined: October 8th, 2013, 10:04 pm

Re: How to make RPG games in DSGM 5

Postby TheMackshun » January 5th, 2014, 5:34 am

Interesting. I thought this forum was dead. It is nice to see that there are new users. Maybe I will get back into this, but my primary focus is android development. I found some of my older files. Will upload them shortly.
Go Check Out Space Destroyer!
viewtopic.php?f=13&t=1876
Info and Demo about my current Rpg, SoulBlaze.
viewtopic.php?f=13&t=2139
Pm me If you need help. I like answering questions. :D
TheMackshun
 
Posts: 212
Joined: January 20th, 2011, 2:56 am

PreviousNext

Return to Tutorials

Who is online

Users browsing this forum: No registered users and 1 guest