Errors and missing actions

Messages through the contact form which are not private or user-specific are posted here with answers

Errors and missing actions

Postby thedark » March 29th, 2011, 8:38 am

Hi guys :)

i am working with DSGM 5.12 but there ar some mistakes here.
somehow there is somthing wrong with the actions, if i want to compile its got only errors.
i think it has to do with the start and end block. look in to it.
in the 5.11 there whas End Block : } :?
in the 5.12 this is End Block : endif ( } :?
got me confused somewhat...
and a lot of questions on compile errors. :cry:

what i am missing is a more keypad actions. :idea:
like : if key A= pressed and key B=pressed do action.
if key A= released and key B=pressed do action.
so you make more actions to a sprite or is this already somewhere in it. :?:

and a demo for keyboard use, needed for a game i am working on. :lol:
i do not know how to create keyboard input.

if i can manage some time i wil create some Demo's for new users, but first have to get rid of the errors. :shock:

l8ers
thedark
Last edited by thedark on April 2nd, 2011, 3:39 pm, edited 1 time in total.
Workin on a DS Version of Strykers RUN Platform
Watch out for Strikers run part 1 and 2 Demo comming soon !!

If you need any help, contact me, mabe i can help out.
i am 16 hours a day on DSGM Forums. i do read a lot.
thedark
 
Posts: 266
Joined: March 14th, 2011, 9:59 am
Location: Nederland

Re: Errors and missing commands

Postby thedark » April 2nd, 2011, 12:32 pm

The compile errors ar solved for now.

AVG whas in the way and un installed it, errors gone...
also i can now load all the Examples of Dsgm so its goimg the right way..

regards
Workin on a DS Version of Strykers RUN Platform
Watch out for Strikers run part 1 and 2 Demo comming soon !!

If you need any help, contact me, mabe i can help out.
i am 16 hours a day on DSGM Forums. i do read a lot.
thedark
 
Posts: 266
Joined: March 14th, 2011, 9:59 am
Location: Nederland

Re: Errors and missing actions

Postby Foxi4 » April 5th, 2011, 10:14 pm

Use the IF Action + conditions and operators.

For example: If I press A and B, something happens.

Code: Select all
IF Pad.Newpress.A && Pad.Newpress.B
Start Block
Something
End Block


It's fairly easy to use when you know what to type in. I suggest reviewing all C operators and basic DS Input commands at http://palib.info/wiki/doku.php?id=day3#input_pad_stylus_keyboard
Current Projects:

FalloutDS: Postponed until proper libraries are created, 10%
Foxi_Lib: A completely revised version of NitroSprites[FINAL], NitroBackgrounds and NitroText[FINAL], 40%
Foxi4
 
Posts: 1114
Joined: December 31st, 2010, 3:25 am

Re: Errors and missing actions

Postby JanMulder » April 5th, 2011, 10:21 pm

I made a keyboard demo two days ago...
here and yet not here
JanMulder
 
Posts: 726
Joined: December 30th, 2010, 3:08 pm

Re: Errors and missing actions

Postby thedark » April 5th, 2011, 10:32 pm

i know
ive used it ..
this is posted before you made it

all works fine now
exept the screens but needs converted to 256 col

then everythings gos okey.

i start now an exstreme make over for duck-hunter an gold oldy from NES

laters
Workin on a DS Version of Strykers RUN Platform
Watch out for Strikers run part 1 and 2 Demo comming soon !!

If you need any help, contact me, mabe i can help out.
i am 16 hours a day on DSGM Forums. i do read a lot.
thedark
 
Posts: 266
Joined: March 14th, 2011, 9:59 am
Location: Nederland


Return to Public Customer Service

Who is online

Users browsing this forum: No registered users and 1 guest