Search found 254 matches
- Sun Apr 05, 2015 2:15 pm
- Forum: General programming
- Topic: Table entry order
- Replies: 8
- Views: 4656
Re: Table entry order
Hence, is there any easy solution to this problem, or do i have to do some hack? Do you really need ForEach() iterator for this task? In old days we just used arrays and loops, it was simple and worked well. ;) Some ideas: - Store your card hand into table (use table like a 0-based array). - If car...
- Sun Apr 05, 2015 8:17 am
- Forum: General programming
- Topic: Any way to get access to parent table?
- Replies: 3
- Views: 2349
Re: Any way to get access to parent table?
Problem is, that I am accessing function in way of: myfunction(mytable[1]) And now after having wrote lot of code inside the myfunction using it based upon it receiving the table, i now suddenly realise I would actually need to know which number table it sent there. How about making things a a litt...
- Mon Mar 23, 2015 7:36 am
- Forum: General programming
- Topic: Scrolling tile maps with Hollywood
- Replies: 24
- Views: 12394
Re: Scrolling tile maps with Hollywood
I have put my source files with some examples available . There are some examples, like platformer basics, collision detection using collision rectangles and scrolling tile map. Also included is a simple tile map editor. My simple game framework is located inside the HGF folder. Tile map editor also...
- Sat Mar 07, 2015 8:35 am
- Forum: General programming
- Topic: Scrolling tile maps with Hollywood
- Replies: 24
- Views: 12394
Re: Scrolling tile maps with Hollywood
I decided to write a tile map editor in Hollywood after all. Actually, it will be more like an game editor as it allows defining collision rectangle data, setting tile terrain traveling cost for path finding purposes and other data that my game might need. Current very early prototype is is running ...
- Fri Mar 06, 2015 8:22 am
- Forum: General programming
- Topic: Scrolling tile maps with Hollywood
- Replies: 24
- Views: 12394
Re: Scrolling tile maps with Hollywood
Below is all the code required for the previous demo. Just to show, how easy it was to code with my simple helper routines... @APPICON { Ic16x16 = "icons/my16x16icon.png", Ic24x24 = "icons/my24x24icon.png", Ic32x32 = "icons/my32x32icon.png", Ic48x48 = "icons/my48x48icon.png", Ic128x128 = "icons/my12...
- Thu Mar 05, 2015 8:21 pm
- Forum: General programming
- Topic: Scrolling tile maps with Hollywood
- Replies: 24
- Views: 12394
Re: Scrolling tile maps with Hollywood
Hi all, I would like to write an 1942 style scrolling arcade game. Anyone here interested in joining the project? I really desperately need someone to draw the tile graphics, design levels and draw some additional art. Also someone to create sound effects and some nice music tunes would be a good to...
- Thu Feb 26, 2015 6:26 pm
- Forum: General programming
- Topic: Scrolling tile maps with Hollywood
- Replies: 24
- Views: 12394
Re: Scrolling tile maps with Hollywood
Windows demo of current progress available here
- Wed Feb 25, 2015 10:03 am
- Forum: General programming
- Topic: Scrolling tile maps with Hollywood
- Replies: 24
- Views: 12394
Re: Scrolling tile maps with Hollywood
Hi all, I am now working on a tile map editor for Windows. I found a working sample program and it is used as a starting point for something more fancy. I plan to add support for drawing and editing collision rectangles and paths. Paths are user defined way points and can be used for game actor move...
- Mon Feb 23, 2015 3:00 pm
- Forum: General programming
- Topic: Outputting into console without a newline?
- Replies: 5
- Views: 3557
Re: Outputting into console without a newline?
Here is a little compiled demo for testing purposes on AmigaOS4, MorphOS and Windows.
It takes "-i filename" as parameter and test.pas and primes.pas files are included for testing purposes.
It takes "-i filename" as parameter and test.pas and primes.pas files are included for testing purposes.
- Mon Feb 23, 2015 9:33 am
- Forum: General programming
- Topic: Outputting into console without a newline?
- Replies: 5
- Views: 3557
Re: Outputting into console without a newline?
you probably know this already, but would a workaround of joining strings together work out? That won't work as the interpreters simple virtual machine is executing a byte code, where printing of a string literal is encoded as a sequence of 'wrc character' op-codes to print character at a time foll...