basicprogramming.org


Welcome, Guest. Please login or register.
Did you miss your activation email?
Forum time; Jul 31. 2010, 01:27
Home Help Search Calendar Login Register
News: Have you got suggestions for BasicProgramming.org? Let's hear them!
Interested in creating your own programming language? Check out the QDepartment group!

+  BASIC programming forum
|-+  Basic Coding
| |-+  Basic Interpreters.
| | |-+  sdlBasic
| | | |-+  Give my Map Edit program a try
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Reply Print
Author Topic: Give my Map Edit program a try  (Read 169 times)
adric22
Jr. Member
**
Offline Offline

Posts: 18


« on: Dec 07. 2009, 13:42 » Reply with quote

I guess you could call this beta-testing.. I'm essentially done with the Map editor program, I'd like a few others to try it.  How does it work on Linux, for example? 

http://galaxy22.dyndns.org/sdlbasic/mapedit.zip

Also, feel free to design some new maps and/or graphics.  So far I've drawn everything myself and I'm not the best artist. 

Some important keys to note:

l - load map from disk (always the same file, testmap)
s - save map to disk (same file)
f - fill screen with selected tile
F - fill entire map with selected tile
pageup/pagedown - move up and down in palette
cursor keys - move around in map
Right-Click - sample a tile from the map (saves a lot of time!)

Everything else should be self-explanitory.  I know the load/save commands could do with some improvement , such as some notification if it actually worked or not, and maybe allowing to choose a filename.  But I can add that later if needed.

At this point, I'm going to start working on another program, which will allow me design the actual playable units in the game.  It will be sort of like the map-editor but it will allow me to define which tiles will be used for units when moving different directions and allow me to define other features like how strong they are, etc. 

After I'm done with that, I'll start writing the game-engine.

Also, if you try this program, please tell me what platform and CPU speed you tried it under, as well as how well it worked.
Report to moderator   Logged
E.K.Virtanen
Blah
Hero Member
*****
Offline Offline

Posts: 2441



WWW
« Reply #1 on: Dec 07. 2009, 16:57 » Reply with quote

I did a quick test here, its allmost 1am so got to go to bed asap.

Your program starts up nicely with ubuntu 9.10, and speed is not a problem. Map is easy and fast to build, block goes where they should and in quick test, nothing problems came out.

Dual core 1.8Ghz with 2gigs of ram.
Report to moderator   Logged

RetroMan
Jr. Member
**
Offline Offline

Posts: 28


« Reply #2 on: Dec 07. 2009, 17:40 » Reply with quote

I'm running just the sdlBrt executable without any other sdlBASIC support files. I got the following error:

File "mapedit.sdlbas" , line 456
Runtime error: SDLengine Error

   text(370,490,20,"Planet X1 Map Editor - David Murray 2009",0)

Seems it can't find the font on my Xubuntu 9.10 system. The error halts any further program execution.

Cheers.
Report to moderator   Logged
adric22
Jr. Member
**
Offline Offline

Posts: 18


« Reply #3 on: Dec 07. 2009, 18:47 » Reply with quote

Quote
Seems it can't find the font on my Xubuntu 9.10 system. The error halts any further program execution.

Hmm.. Well, I never specified any font to use, I just let it use whatever is default.  This might be an issue for the big-fixing team.
Report to moderator   Logged
Cybermonkey
Global Moderator
Hero Member
*****
Offline Offline

Posts: 930



WWW
« Reply #4 on: Dec 09. 2009, 14:11 » Reply with quote

Be sure that "DejaVuSans" and "DejaVuSansMono-Roman" fonts are installed on your system.
(sdlBasic uses them as the "default" font)
Report to moderator   Logged

Best wishes,
Cybermonkey
Pages: [1] Go Up Reply Print 
« previous next »
Jump to:  
Atom RDF RSS 0.91 RSS 2.0


Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!