dedomil.net - Mobile Games Forum
Demos for J2ME SDK Mobile - Printable Version

+- dedomil.net - Mobile Games Forum (http://dedomil.net/forum)
+-- Forum: Devs & Mods Section (/forumdisplay.php?fid=31)
+--- Forum: Showcase (/forumdisplay.php?fid=32)
+--- Thread: Demos for J2ME SDK Mobile (/showthread.php?tid=5590)

Pages: 1 2 3 4 5 6 7 8


RE: Demos for J2ME SDK Mobile - java gamer - 07-07-2021 08:44 AM

(07-07-2021 08:13 AM)JoseskVolpe Wrote:  
(07-07-2021 07:46 AM)java gamer Wrote:  Why My Sprite Sheets Blank When I Open My Demo

¿Did you replaced the spritesheet? Upload here for me to take a look

Yes Replaced

Sorry I Deleted It But Here Is The Link

https://i.pinimg.com/originals/02/89/61/02896153b5e88516af6cb8e444842317.png


RE: Demos for J2ME SDK Mobile - JoseskVolpe - 07-07-2021 09:04 AM

(07-07-2021 08:44 AM)java gamer Wrote:  
(07-07-2021 08:13 AM)JoseskVolpe Wrote:  
(07-07-2021 07:46 AM)java gamer Wrote:  Why My Sprite Sheets Blank When I Open My Demo

¿Did you replaced the spritesheet? Upload here for me to take a look

Yes Replaced

Sorry I Deleted It But Here Is The Link

https://i.pinimg.com/originals/02/89/61/02896153b5e88516af6cb8e444842317.png

If it's in blank, probably your tile size is incorrectly set in the code. The method is:

Code:
loadSprite(String source, int tileWidth, int tileHeight)

Change tileWidth and tileHeight to what width and height size your tiles have - That's not the spritesheet's resolution


RE: Demos for J2ME SDK Mobile - java gamer - 07-07-2021 09:39 AM

Ok I Will Try

(07-07-2021 09:04 AM)JoseskVolpe Wrote:  
(07-07-2021 08:44 AM)java gamer Wrote:  
(07-07-2021 08:13 AM)JoseskVolpe Wrote:  
(07-07-2021 07:46 AM)java gamer Wrote:  Why My Sprite Sheets Blank When I Open My Demo

¿Did you replaced the spritesheet? Upload here for me to take a look

Yes Replaced

Sorry I Deleted It But Here Is The Link

https://i.pinimg.com/originals/02/89/61/02896153b5e88516af6cb8e444842317.png

If it's in blank, probably your tile size is incorrectly set in the code. The method is:

Code:
loadSprite(String source, int tileWidth, int tileHeight)

Change tileWidth and tileHeight to what width and height size your tiles have - That's not the spritesheet's resolution

Where Is The Code ? Or I Need To Create One


RE: Demos for J2ME SDK Mobile - java gamer - 09-04-2022 10:22 AM

I need android alternative for this


RE: Demos for J2ME SDK Mobile - Abidemhie - 07-27-2023 04:23 PM

(09-04-2022 10:22 AM)java gamer Wrote:  I need android alternative for this
Pc user??