Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / Level Editor (WIP)

Author
Message
Crazy Programmer
AGK Developer
20
Years of Service
User Offline
Joined: 6th Sep 2004
Location: Lost in AGK
Posted: 2nd Sep 2015 23:34 Edited at: 4th Sep 2015 02:15
I started working on a Level Editor 9/2/2015

Here is what iv got so far....
Source1: No Special Physics


Source Code:



Example of Save.txt With Physics:


Example of Save.txt with NO Physics:


Features:
Save F1 Key
Change Sprite IMG ID with Virtual Buttons + or - (Must load your own Images)
Z Key to undo your last Sprite Placement.
Set Physics On and Off with Virtual Button.
Move Right and Left with Arrow Keys.


Features Being Worked On:
I am Currently working on something I\'m Calling Special Physics for the editor.
It is where you do not set physics to the Sprite[SID]
You are creating a new sprite and Off-setting it + or - the Y axix
And Setting Physics On it / Hiding it.
So your character can appear on your Platforms the way you wish.

Example.



The Reason I do this for my Platformer is Because of the grass on my images. My Image does not start at Y# = 0 it starts at Y# = 20 But the Sprite starts at Y# = 0

So we create a ground sprite, set the physics on and appears your character is walking on your Platform.

Special Physics Update!:



Source:












Special Physics Save Example:
Bug Fix!
Added Sprite Groups!!!! Sprite Group will always be set to 1 (Untill Future Purposes i will add a feature to set it as you wish)







New Features in Special Physics:
Ability to Hide Text
Ability to Offset Physics Ground
New Saved Sprite IDs


Edit: Deleted my questions as I had figured out what the issues were.

Thanks for your Advice in Advance!

http://crazyprogrammerproductions.webs.com/
Markus
Valued Member
20
Years of Service
User Offline
Joined: 10th Apr 2004
Location: Germany
Posted: 2nd Sep 2015 23:46
in agk v2 it should be here.
but appdata is a hidden folder.
u can change folder options to make it visible.
C:\Users\Username\AppData\Local\AGKApps

AGK (Steam) V2 Beta .. : Windows 10 Pro, 8.1 Pro 64 Bit : AMD (15.7.1) Radeon R7 265 : Mac mini OS X 10.10 (Yosemite)
Crazy Programmer
AGK Developer
20
Years of Service
User Offline
Joined: 6th Sep 2004
Location: Lost in AGK
Posted: 2nd Sep 2015 23:57 Edited at: 3rd Sep 2015 02:28
Quote: "u can change folder options to make it visible."

Where can you change the options at? I did not see them in the AppData Properties.

Img attached...I even tried creating the file path you mentioned and nothing....

Edit...I figured out how to un-hide the folders and AppGameKit Apps isn't there.

Its...C: > Users > Default > AppData > Local then there is no AppGameKit Apps folder, Only a Microsoft and Temp folder

Edit: Everything is working perfect now...I will post the source code in a few hours after i add a few more features...Just in case anyone is interested.

http://crazyprogrammerproductions.webs.com/

Attachments

Login to view attachments
Delta V Software
9
Years of Service
User Offline
Joined: 13th Aug 2015
Location:
Posted: 3rd Sep 2015 04:50
Another way is to use the Windows run window. Just type in %appdate% and it will take you to the AppData/Roaming folder. From there go back to AppData and into the Local folder. You will find your game folder in the AGKApps folder.
Crazy Programmer
AGK Developer
20
Years of Service
User Offline
Joined: 6th Sep 2004
Location: Lost in AGK
Posted: 3rd Sep 2015 06:58 Edited at: 3rd Sep 2015 19:12
Update:
Ok so i have everything working and saving right atm.
I can load in my 12 images and go through and place them where need be. Up to 100 Sprites.(Can change it to go higher)

Change Sprite Image ID using Virtual Buttons \"+\" or \"-\"
Undo Button = \"Z\" key
Save Button = \"F1\" Key
Level Name = \" StartTextInput (\"Level Name.txt\")\" at begging

Source Code:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Saved Data Example.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

We can see how this goes....I was just needing something simple i could copy and paste over to AGK...Which is my aim for this editor...I want to keep it Idiot proof(Mainly because I'm the IDIOT)



I will add a few more features soon

http://crazyprogrammerproductions.webs.com/

Login to post a reply

Server time is: 2024-11-16 20:23:44
Your offset time is: 2024-11-16 20:23:44