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 / Tile Images?

Author
Message
Noob Programmer
12
Years of Service
User Offline
Joined: 22nd Sep 2011
Location:
Posted: 6th Aug 2012 15:14
How do you do Tile Images in AppGameKit?
Cliff Mellangard 3DEGS
Developer
18
Years of Service
User Offline
Joined: 20th Feb 2006
Location: Sweden
Posted: 6th Aug 2012 15:32
Do you mean like an tile mapper?

Make sure you have set virtual resolution if you are new to agk.

I have only recently started with the original percentage system and its hard in the beginning.

Because an resolution of 640x480 have its edge cords like this in percentage.

640= 100
480 = 100

Android 2.3 Gingerbread , ZTE Skate , 480x800 , 800 mhz cpu , Samsung Galaxy Y , 240x320 , 832 mhz cpu
Android 4.0 Sandwich , Dmtech 3g 9738B , 1024x768 , 9.7 inches , cortex A8 1.2 cpu , 1 gb ram.
Noob Programmer
12
Years of Service
User Offline
Joined: 22nd Sep 2011
Location:
Posted: 6th Aug 2012 15:50
The reason why I used tile image is that I doing Shadow of the beast demo and yes, I am new to AppGameKit but I have experience of programming before like C++, Java, C#, Blitz and purebasic
Van B
Moderator
21
Years of Service
User Offline
Joined: 8th Oct 2002
Location: Sunnyvale
Posted: 6th Aug 2012 15:52
I'm not sure if I can remember the command - but check the Images section in the command help, there's a command called SetImageV and SetImageU - something like that at least, there aren't many Image commands so you should spot them.
Anyway, these let you control whether the image repeats on X and Y, so if you load a tiled image, you could use these commands and scale the texture, to allow it to repeat properly. Without these commands, the image will repeat the last pixel in the texture.

Health, Ammo, and bacon and eggs!
3d point in space
14
Years of Service
User Offline
Joined: 30th Jun 2009
Location: Idaho
Posted: 6th Aug 2012 16:06
soon I make these as an export in my engine that i currently have so you don't have to do it manually.

Developer of Space Chips, pianobasic, zipzapzoom, and vet pinball apps. Developed the tiled map engine seen on the showcase. Veteran for the military.
Noob Programmer
12
Years of Service
User Offline
Joined: 22nd Sep 2011
Location:
Posted: 6th Aug 2012 16:17
thanks guys....

Hey 3d point in space

You making own Tile engine?
3d point in space
14
Years of Service
User Offline
Joined: 30th Jun 2009
Location: Idaho
Posted: 6th Aug 2012 16:27 Edited at: 6th Aug 2012 20:26
yep and it be quite usefull when it is done i think.

It be able to export c++ and basic code and import tiled maps. It will be array structured so because a lot of people are haveing a hard time with this.

http://forum.thegamecreators.com/?m=forum_view&t=198386&b=8&p=0
This will be the actual export of the engine. The export of the tiled is frame 0 of the editor.

i hope this is the correct format for tier 1.

Developer of Space Chips, pianobasic, zipzapzoom, and vet pinball apps. Developed the tiled map engine seen on the showcase. Veteran for the military.
xGEKKOx
AGK Master
15
Years of Service
User Offline
Joined: 7th Dec 2008
Location: Italy
Posted: 6th Aug 2012 20:26
Yes is a good thing for a 2D / 2DIso game. I use it in all my new project for scrolling fighting arcade (like double dragon) and for some other games where you need that a tile do something instead to be static.

Long life to Steve!
3d point in space
14
Years of Service
User Offline
Joined: 30th Jun 2009
Location: Idaho
Posted: 6th Aug 2012 20:27
there will me animated part too. That is one of the exports.

Developer of Space Chips, pianobasic, zipzapzoom, and vet pinball apps. Developed the tiled map engine seen on the showcase. Veteran for the military.
7RS
11
Years of Service
User Offline
Joined: 10th May 2012
Location:
Posted: 6th Aug 2012 22:33
You wrote it from 0 or it is based on some other editor like Tiled ?
We have used it and we have created a parser to help us read all properties and many other things.

I'm happy to see your own to compare it and check what could be better to use.
3d point in space
14
Years of Service
User Offline
Joined: 30th Jun 2009
Location: Idaho
Posted: 7th Aug 2012 00:30 Edited at: 7th Aug 2012 01:59
no there are 4 different exports that I have for the options, a tiled map which takes a snap shop from frame 0 then there is a animation shot which output all the rotations and stuff into a array format. Because some people just want a tiled map and some people want animation so it does both.

I thought this would be easier to accomplish if I had such an option.
I am quite busy with it and, I don't know how I want as a beta tester.

Developer of Space Chips, pianobasic, zipzapzoom, and vet pinball apps. Developed the tiled map engine seen on the showcase. Veteran for the military.

Login to post a reply

Server time is: 2024-04-27 22:14:57
Your offset time is: 2024-04-27 22:14:57