Omnimaga: The Coders Of Tomorrow
Welcome, Guest. Please login or register.
 
Omnimaga: The Coders Of Tomorrow
26 May, 2013, 02:28:41 *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   home   news downloads projects tutorials misc forums rules new posts irc about Login Register  
+-OmnomIRC

You must Register, be logged in and have at least 40 posts to use this shout-box! If it still doesn't show up afterward, it might be that OmnomIRC is disabled for your group or under maintenance.

Note: You can also use an IRC client like mIRC, X-Chat or Mibbit to connect to an EFnet server and #omnimaga.

Pages: 1 ... 3 4 [5] 6 7 ... 10   Go Down
  Print  
Author Topic: BexIDE -- An Axe/(Extended) BASIC Mini-IDE -  (Read 6564 times) Bookmark and Share
0 Members and 1 Guest are viewing this topic.
BlakPilar
LV8 Addict (Next: 1000)
********
Offline Offline

Gender: Male
Last Login: 20 February, 2013, 02:38:22
Date Registered: 16 July, 2011, 02:50:55
Posts: 735


Topic starter
Total Post Ratings: +43

View Profile
« Reply #60 on: 29 December, 2011, 02:32:30 »
0

Woot indeed! That makes it a lot easier! So after I'm done with 1.2, I'll throw it into Mono, add functionality for its editor, and away we go!
Logged
epic7
Chopin!
LV11 Super Veteran (Next: 3000)
***********
Offline Offline

Gender: Male
Last Login: Today at 01:07:52
Date Registered: 22 October, 2011, 01:45:43
Location: Northeast US
Posts: 2172


Total Post Ratings: +122

View Profile
« Reply #61 on: 03 January, 2012, 02:22:42 »
0

I think the sprite editor doesn't quite work for large sprites.



The sprite is supposed to look like this:
« Last Edit: 03 January, 2012, 02:24:07 by epic7 » Logged



Current Projects:
TitleLanguageProgressStatus
DrillMiner    C (ndless)   35%         Active
?     C (ndless)   0%        Unconfirmed

Spoiler for Programming languages I currently know:
Java (Learning in AP Comp Sci)
C (Specifically Ndless)
Unity JavaScript
LabView (For FIRST robotics)
z80 ASM (Just a little bit Tongue)
BlakPilar
LV8 Addict (Next: 1000)
********
Offline Offline

Gender: Male
Last Login: 20 February, 2013, 02:38:22
Date Registered: 16 July, 2011, 02:50:55
Posts: 735


Topic starter
Total Post Ratings: +43

View Profile
« Reply #62 on: 03 January, 2012, 03:56:16 »
0

Hmm... I tried recreating your sprite by hand (in the sprite editor) and this is what I got:

1D38F9FF5F0F0E1E
C0E0FFFFFF7C7CFC
000080C0F0180C6E
1E3E7F7F7F7F7F7F
FC7CBE9F1F43C0D8
6E0E1FFFFEFCD802
3F3F1F0F07030000
D2F3FFFFFFFFFF3F
5EFEFCF8F0E0C000

When I click refresh with that hex nothing changes, either. Can you try breaking up your text into 16 characters per line? I think it might be something wrong with my string parsing method, but I'm not sure.

EDIT: That is, if something is wrong (which if that hex has worked in your game correctly, then something might be wrong). Also, remember, it parses it left to right, top to bottom (with that priority). If it's formatted for top to bottom, left to right then it may not work.

EDIT 2: This is the format that BexIDE wants:

*************
* 1 * 2 * 3 *
*************
* 4 * 5 * 6 *
*************
* 7 * 8 * 9 *
*************
« Last Edit: 03 January, 2012, 04:20:00 by BlakPilar » Logged
epic7
Chopin!
LV11 Super Veteran (Next: 3000)
***********
Offline Offline

Gender: Male
Last Login: Today at 01:07:52
Date Registered: 22 October, 2011, 01:45:43
Location: Northeast US
Posts: 2172


Total Post Ratings: +122

View Profile
« Reply #63 on: 03 January, 2012, 04:31:47 »
0

It works on calc, but I have know idea what format axe bitmaps use.
Logged



Current Projects:
TitleLanguageProgressStatus
DrillMiner    C (ndless)   35%         Active
?     C (ndless)   0%        Unconfirmed

Spoiler for Programming languages I currently know:
Java (Learning in AP Comp Sci)
C (Specifically Ndless)
Unity JavaScript
LabView (For FIRST robotics)
z80 ASM (Just a little bit Tongue)
BlakPilar
LV8 Addict (Next: 1000)
********
Offline Offline

Gender: Male
Last Login: 20 February, 2013, 02:38:22
Date Registered: 16 July, 2011, 02:50:55
Posts: 735


Topic starter
Total Post Ratings: +43

View Profile
« Reply #64 on: 03 January, 2012, 04:48:53 »
0

Hmm... What did you use to get the hex for the bitmap?
Logged
epic7
Chopin!
LV11 Super Veteran (Next: 3000)
***********
Offline Offline

Gender: Male
Last Login: Today at 01:07:52
Date Registered: 22 October, 2011, 01:45:43
Location: Northeast US
Posts: 2172


Total Post Ratings: +122

View Profile
« Reply #65 on: 03 January, 2012, 05:09:35 »
0

Jacobly hand-converted one for me, and the other bitmaps I made from a program quigibo made. (Ill go find that code)
Edit: Here it is
http://www.omnimaga.org/index.php?topic=6568.0;msg=216937
« Last Edit: 03 January, 2012, 05:17:09 by epic7 » Logged



Current Projects:
TitleLanguageProgressStatus
DrillMiner    C (ndless)   35%         Active
?     C (ndless)   0%        Unconfirmed

Spoiler for Programming languages I currently know:
Java (Learning in AP Comp Sci)
C (Specifically Ndless)
Unity JavaScript
LabView (For FIRST robotics)
z80 ASM (Just a little bit Tongue)
BlakPilar
LV8 Addict (Next: 1000)
********
Offline Offline

Gender: Male
Last Login: 20 February, 2013, 02:38:22
Date Registered: 16 July, 2011, 02:50:55
Posts: 735


Topic starter
Total Post Ratings: +43

View Profile
« Reply #66 on: 03 January, 2012, 05:17:12 »
0

Alright. In the meantime I thought of something else. BexIDE loads and stores sprites in this format: (I don't know what it's called, maybe tilemap?)

1D38F9FF5F0F0E1E
C0E0FFFFFF7C7CFC
000080C0F0180C6E
1E3E7F7F7F7F7F7F
FC7CBE9F1F43C0D8
6E0E1FFFFEFCD802
3F3F1F0F07030000
D2F3FFFFFFFFFF3F
5EFEFCF8F0E0C000


I actually do not know the format for bitmaps, so I'd imagine that that would be handier to know.
« Last Edit: 03 January, 2012, 05:18:55 by BlakPilar » Logged
epic7
Chopin!
LV11 Super Veteran (Next: 3000)
***********
Offline Offline

Gender: Male
Last Login: Today at 01:07:52
Date Registered: 22 October, 2011, 01:45:43
Location: Northeast US
Posts: 2172


Total Post Ratings: +122

View Profile
« Reply #67 on: 03 January, 2012, 05:20:07 »
0

Posted it. Quigibo also added the 1818 in the beginning in that program to show that it's a 24x24 bitmap.

Edit: the 1818 probably screwed it up. I think I found the problem :p
Its not part of the sprite, so I'll remove that, then it should work.

But still, your hex is different from my hex
« Last Edit: 03 January, 2012, 05:22:19 by epic7 » Logged



Current Projects:
TitleLanguageProgressStatus
DrillMiner    C (ndless)   35%         Active
?     C (ndless)   0%        Unconfirmed

Spoiler for Programming languages I currently know:
Java (Learning in AP Comp Sci)
C (Specifically Ndless)
Unity JavaScript
LabView (For FIRST robotics)
z80 ASM (Just a little bit Tongue)
BlakPilar
LV8 Addict (Next: 1000)
********
Offline Offline

Gender: Male
Last Login: 20 February, 2013, 02:38:22
Date Registered: 16 July, 2011, 02:50:55
Posts: 735


Topic starter
Total Post Ratings: +43

View Profile
« Reply #68 on: 04 January, 2012, 00:55:23 »
0

Ok, so, the reason why my hex is different from yours is because BexIDE parses the sprites like tilemaps:

*************
* 1 * 2 * 3 *
*************
* 4 * 5 * 6 *
*************
* 7 * 8 * 9 *
*************

Then it throws the hex of each sprite on a new line. However, I should be just be parsing the sprite straight through on a row until I get to the end of said row, and move on to the next one. I'll fix that for 1.2. Thanks for pointing that out! Cheesy
Logged
BlakPilar
LV8 Addict (Next: 1000)
********
Offline Offline

Gender: Male
Last Login: 20 February, 2013, 02:38:22
Date Registered: 16 July, 2011, 02:50:55
Posts: 735


Topic starter
Total Post Ratings: +43

View Profile
« Reply #69 on: 07 January, 2012, 06:11:25 »
0

Ok, nevermind. I can't understand why our hexes are different. I tried putting mine on my calc and it displays your enemy fine.
Logged
epic7
Chopin!
LV11 Super Veteran (Next: 3000)
***********
Offline Offline

Gender: Male
Last Login: Today at 01:07:52
Date Registered: 22 October, 2011, 01:45:43
Location: Northeast US
Posts: 2172


Total Post Ratings: +122

View Profile
« Reply #70 on: 07 January, 2012, 06:13:49 »
0

Wow... I'll check if there is something wrong with those hexes I had, because it doesnt work in bex. If I can't figure it out, ask jacobly since he converted the pic to hex for me Tongue
Logged



Current Projects:
TitleLanguageProgressStatus
DrillMiner    C (ndless)   35%         Active
?     C (ndless)   0%        Unconfirmed

Spoiler for Programming languages I currently know:
Java (Learning in AP Comp Sci)
C (Specifically Ndless)
Unity JavaScript
LabView (For FIRST robotics)
z80 ASM (Just a little bit Tongue)
Quigibo
The Executioner
LV11 Super Veteran (Next: 3000)
***********
Offline Offline

Gender: Male
Last Login: 21 May, 2013, 02:03:21
Date Registered: 22 January, 2010, 05:02:37
Location: Los Angeles
Posts: 2022


Total Post Ratings: +1019

View Profile
« Reply #71 on: 07 January, 2012, 06:16:57 »
0

Both formats are correct but work with different commands.  If drawn using the Pt-Logic() commands, it needs to be in the "tilemap" format, but if drawn with Bitmap() it needs to be in the bitmap format.  So rather than changing your IDE, you should probably just add a radio button/checkbox to toggle which format the programmer is trying to use.
Logged

___Axe_Parser___
Today the calculator, tomorrow the world!
BlakPilar
LV8 Addict (Next: 1000)
********
Offline Offline

Gender: Male
Last Login: 20 February, 2013, 02:38:22
Date Registered: 16 July, 2011, 02:50:55
Posts: 735


Topic starter
Total Post Ratings: +43

View Profile
« Reply #72 on: 07 January, 2012, 06:18:55 »
0

Ahh, okay. The Bitmap format would be just in a single line with the two dimensions first then, right?
Logged
Quigibo
The Executioner
LV11 Super Veteran (Next: 3000)
***********
Offline Offline

Gender: Male
Last Login: 21 May, 2013, 02:03:21
Date Registered: 22 January, 2010, 05:02:37
Location: Los Angeles
Posts: 2022


Total Post Ratings: +1019

View Profile
« Reply #73 on: 07 January, 2012, 06:21:18 »
0

Yes, and also the extra space is required to be padded with 0s in the case of widths that are non-multiples of 8.
Logged

___Axe_Parser___
Today the calculator, tomorrow the world!
BlakPilar
LV8 Addict (Next: 1000)
********
Offline Offline

Gender: Male
Last Login: 20 February, 2013, 02:38:22
Date Registered: 16 July, 2011, 02:50:55
Posts: 735


Topic starter
Total Post Ratings: +43

View Profile
« Reply #74 on: 07 January, 2012, 06:23:10 »
0

Alrighty; can do. And for the Bitmap format, does width or height come first?
Logged
Pages: 1 ... 3 4 [5] 6 7 ... 10   Go Up
  Print  
 
Jump to:  

Powered by EzPortal
Powered by MySQL Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Powered by PHP
Page created in 0.254 seconds with 30 queries.
Skin by DJ Omnimaga edited from SMF default theme with the help of tr1p1ea.
All programs, games and songs avaliable on this website are property of their respective owners.
Best viewed in Opera, Firefox, Chrome and Safari with a resolution of 1024x768 or above.