Game Simplification for Mobile/Tablet

A forum for discussing potential mobile/cross platform ports of the Drakkar Client
Brad
Admin
Admin
Posts: 1572
Joined: Thu Jul 04, 2002 11:46 am

Re: Game Simplification for Mobile/Tablet

Post by Brad »

Thanks!

Have those in. Will get a version out when i figure out the issue i'm having with the radial menu.

User avatar
Merlin
Posts: 584
Joined: Fri Aug 09, 2002 7:51 am
Location: UK
Contact:

Re: Game Simplification for Mobile/Tablet

Post by Merlin »

Brad, please post this in the Main Download Thread, i hate typing URL's in ;)

Image
Elessar: karbeck is a sweety

User avatar
Hawk409
Posts: 57
Joined: Sat Jun 21, 2003 12:06 pm

Re: Game Simplification for Mobile/Tablet

Post by Hawk409 »

what issue are you having with the radial menu? im guessing figuring out the coords to set it up?

Brad
Admin
Admin
Posts: 1572
Joined: Thu Jul 04, 2002 11:46 am

Re: Game Simplification for Mobile/Tablet

Post by Brad »

Yeah the coordinates are one ( i guessed and it looks okay ).

But also remember i'm LEARNING flash from the ground up as i write this.. haha

User avatar
Hawk409
Posts: 57
Joined: Sat Jun 21, 2003 12:06 pm

Re: Game Simplification for Mobile/Tablet

Post by Hawk409 »

which version of the radial menu are you going to use? the first set (with a slight stroke grey outline) has afew minor issues that i noticed and fixed while checking the coords, if your going to use that first set, let me know so i can upload the cleaner version.

also here are the coords

If starting coords are (0,0)
(0,0) == (x,y)
nw segment = (x, y + 9)
north segment = (33, y)
ne segment = (x + 81, y + 9)
sw segment = (x, y + 65)
south segment = (x + 32, y + 92)
se segment = (x + 82, y + 65)
center cross = (x + 55, y + 55)

so an example, if you want to draw it at (500,500)
nw = (500, 509)
north = (533, 500)
ne = (581, 509)
sw = (500, 565)
south = (532, 592)
se = (582, 565)
center cross = (555, 555)

hopefully that was somewhat helpful, are you drawing in relation to the mouse pointer's coords at time of click?
I could figure the coords out in relation to the mouse pointer if needed

User avatar
Hawk409
Posts: 57
Joined: Sat Jun 21, 2003 12:06 pm

Re: Game Simplification for Mobile/Tablet

Post by Hawk409 »

Hey brad, i read your artwork size issue and i wanted to show you an option you have to reduce size of your tiles.

original grass tile.
size: 10.2kb
Image

256 colors only. png through photoshop.
size: 6.68kb
Image

256 colors only. bmp format.
size: 5.05kb
Image

256 colors only. png format from above bmp format.
size: 2.67kb
Image

as you see, thats about a 75% reduction in size and the visual quality loss is not very noticable, may be more noticable on other tiles but i only tested on a grass tile


edit.
tested the same change on the OBJ01 item set, original size was 995kb, after the change the size went down to 104kb.

Brad
Admin
Admin
Posts: 1572
Joined: Thu Jul 04, 2002 11:46 am

Re: Game Simplification for Mobile/Tablet

Post by Brad »

Yeah, i've messed around with that. The trick is picking a palette that works with the 130mb of artwork ( or using multiple palettes ).


Thanks!

Brad
Admin
Admin
Posts: 1572
Joined: Thu Jul 04, 2002 11:46 am

Re: Game Simplification for Mobile/Tablet

Post by Brad »

Okay i have a bunch of them converted to PNGs now ( 32 bit pngs with 8 bits for the alpha channel ( mask ) )

1) Im precaching the pngs ( boy flash is slow decoding them )
2) If it doesnt exist, im using the normal method.

Question:

- If we batch convert these to 8bit ( Paletized ), what happens to the alpha channel? I need the alpha channel as a "mask" for blitting.
- Do you have something that batch converts?

Thanks
Brad

User avatar
Hawk409
Posts: 57
Joined: Sat Jun 21, 2003 12:06 pm

Re: Game Simplification for Mobile/Tablet

Post by Hawk409 »

The alpha channel remains even after batch converting (depending to which format)
I use photoshop's automate feature to batch convert or do any form of repetitive action on an image or folder of images ect

Brad
Admin
Admin
Posts: 1572
Joined: Thu Jul 04, 2002 11:46 am

Re: Game Simplification for Mobile/Tablet

Post by Brad »

So, if i give you a 32 bit image ( RGBA ), and you convert it to an 8bit image.. the PNG will keep the alpha concept? ( how is it still 8 bit then? )

Hey i'm willing to give it a try if you want me to ship you off the PNGs so you can batch convert them.

Brad

User avatar
Hawk409
Posts: 57
Joined: Sat Jun 21, 2003 12:06 pm

Re: Game Simplification for Mobile/Tablet

Post by Hawk409 »

basically from what I understand, the 4 channels, red, green, blue, alpha, when reduced to 8-bit, it just effects the 3 color channels.
so a 24bit png can be converted to a paletted 8bit and retain its alpha channel.
so if your willing to send them i'll gladly batch convert them for you, you could upload them somewhere and pm me the link if you dont want to post it publicly

Brad
Admin
Admin
Posts: 1572
Joined: Thu Jul 04, 2002 11:46 am

Re: Game Simplification for Mobile/Tablet

Post by Brad »

Check your IMs on here for a link.

User avatar
Hawk409
Posts: 57
Joined: Sat Jun 21, 2003 12:06 pm

Re: Game Simplification for Mobile/Tablet

Post by Hawk409 »

So brad, with flash what other changes do you have in mind? can you use custom shaders?
a video i made using a custom shader in c# for shadows, also used your cave tiles.
http://youtu.be/8kTbKD7cqZM

User avatar
Merlin
Posts: 584
Joined: Fri Aug 09, 2002 7:51 am
Location: UK
Contact:

Re: Game Simplification for Mobile/Tablet

Post by Merlin »

Hawk409 wrote:So brad, with flash what other changes do you have in mind? can you use custom shaders?
a video i made using a custom shader in c# for shadows, also used your cave tiles.
http://youtu.be/8kTbKD7cqZM

Very very nice, but I fear for performance reason on tablet devices this may be too much!

ever thought about making your own online game?
Elessar: karbeck is a sweety

User avatar
Hawk409
Posts: 57
Joined: Sat Jun 21, 2003 12:06 pm

Re: Game Simplification for Mobile/Tablet

Post by Hawk409 »

Merlin wrote:
Hawk409 wrote:So brad, with flash what other changes do you have in mind? can you use custom shaders?
a video i made using a custom shader in c# for shadows, also used your cave tiles.
http://youtu.be/8kTbKD7cqZM

Very very nice, but I fear for performance reason on tablet devices this may be too much!

ever thought about making your own online game?
Yup i have, i have something in the works :)

also performance wise, it wouldn't do well on a tablet device currently but they say soon tablets will be as powerfull as an xbox 360/ps3/lower end pc

kingcolex
Posts: 9
Joined: Sun Oct 02, 2011 7:31 pm

Re: Game Simplification for Mobile/Tablet

Post by kingcolex »

Just a suggestion i think the back arrow on android shouldn't just return you to lobby but give a, "Would you like to return to lobby? Yes No ) box where another back arrow will take you out to the lobby. This is because on Android 4.0+ the back arrow is onscreen for most devices like tablets and it can be hit pretty easily while in game and it gets frustrating when it just throws you back in the lobby.

Brad
Admin
Admin
Posts: 1572
Joined: Thu Jul 04, 2002 11:46 am

Re: Game Simplification for Mobile/Tablet

Post by Brad »

Thanks. It already drops to lobby if in game. I guess I could have it ask of in lobby

kingcolex
Posts: 9
Joined: Sun Oct 02, 2011 7:31 pm

Re: Game Simplification for Mobile/Tablet

Post by kingcolex »

Sorry what i meant was for in game , like if your in a heated game and you accidentally hit the back arrow it doesn't just shoot you to lobby but gives a are you sure before. This would help alot for boss fights that are eaters.

Post Reply