Author Topic: Croquette IDE  (Read 17525 times)

0 Members and 1 Guest are viewing this topic.

Offline epic7

  • Chopin!
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2200
  • Rating: +135/-8
  • I like robots
    • View Profile
Re: Croquette IDE
« Reply #75 on: November 17, 2011, 05:36:40 pm »
ITS SCREWIN' UP!

Edit: After like 5 attempts, it now works

Edit: NO IT DOESNT D:

* epic7 slaps the creator

I think the new prgm is appearing somewhere on the memory list tho. But not in the prgms
« Last Edit: November 17, 2011, 05:49:40 pm by epic7 »

Offline Michael_Lee

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1019
  • Rating: +124/-9
    • View Profile
Re: Croquette IDE
« Reply #76 on: November 17, 2011, 06:58:41 pm »
ITS SCREWIN' UP!

Edit: After like 5 attempts, it now works

Edit: NO IT DOESNT D:

* epic7 slaps the creator

I think the new prgm is appearing somewhere on the memory list tho. But not in the prgms

Please describe what you want to do, what you tried, what happened, and what you expected.

"ITS SCREWIN' UP!' is a bit on the vague side :)

Also, what do you mean by this?
I think the new prgm is appearing somewhere on the memory list tho. But not in the prgms
My website: Currently boring.

Projects:
Axe Interpreter
   > Core: Done
   > Memory: Need write code to add constants.
   > Graphics: Rewritten.  Needs to integrate sprites with constants.
   > IO: GetKey done.  Need to add mostly homescreen IO stuff.
Croquette:
   > Stomping bugs
   > Internet version: On hold until I can make my website less boring/broken.

Offline epic7

  • Chopin!
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2200
  • Rating: +135/-8
  • I like robots
    • View Profile
Re: Croquette IDE
« Reply #77 on: November 17, 2011, 07:00:15 pm »
Lol, ok. It's not in the programs when I transfer it to the calc, but I think I found the file somewhere within the memory menu.

Offline Michael_Lee

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1019
  • Rating: +124/-9
    • View Profile
Re: Croquette IDE
« Reply #78 on: November 17, 2011, 07:02:39 pm »
Lol, ok. It's not in the programs when I transfer it to the calc, but I think I found the file somewhere within the memory menu.

Wait a moment, are you trying to transfer Croquette IDE to you calculator?
My website: Currently boring.

Projects:
Axe Interpreter
   > Core: Done
   > Memory: Need write code to add constants.
   > Graphics: Rewritten.  Needs to integrate sprites with constants.
   > IO: GetKey done.  Need to add mostly homescreen IO stuff.
Croquette:
   > Stomping bugs
   > Internet version: On hold until I can make my website less boring/broken.

Offline epic7

  • Chopin!
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2200
  • Rating: +135/-8
  • I like robots
    • View Profile
Re: Croquette IDE
« Reply #79 on: November 17, 2011, 07:31:20 pm »
No :P
That happened when I try to transfer the program edited in croquette

Offline Michael_Lee

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1019
  • Rating: +124/-9
    • View Profile
Re: Croquette IDE
« Reply #80 on: November 17, 2011, 08:05:52 pm »
Okay.  Tell me exactly what you typed into croquette and exactly what you did to save the file.
My website: Currently boring.

Projects:
Axe Interpreter
   > Core: Done
   > Memory: Need write code to add constants.
   > Graphics: Rewritten.  Needs to integrate sprites with constants.
   > IO: GetKey done.  Need to add mostly homescreen IO stuff.
Croquette:
   > Stomping bugs
   > Internet version: On hold until I can make my website less boring/broken.

Offline epic7

  • Chopin!
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2200
  • Rating: +135/-8
  • I like robots
    • View Profile
Re: Croquette IDE
« Reply #81 on: November 17, 2011, 08:07:05 pm »
What exactly I typed? Its over 500 lines so... :P
To save I pushed file->save->.8xp then overwrote my old program.

Edit: I didnt know it went to the calc as a group file. Now it's fine. I just ungrouped it
« Last Edit: November 17, 2011, 08:10:46 pm by epic7 »

Offline Michael_Lee

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1019
  • Rating: +124/-9
    • View Profile
Re: Croquette IDE
« Reply #82 on: November 17, 2011, 08:15:31 pm »
...um, I'm not really sure what to say then.  You're not really giving me enough info to help you with.

Are you sure it isn't a problem with TIConnect?  Have you tried transfering other files? 
Have you tried transferring your program to Wabbitemu?  If so, what did it do? 
Are you sure it's actually overwriting the old program?  Try saving it under a different name and transferring?
My website: Currently boring.

Projects:
Axe Interpreter
   > Core: Done
   > Memory: Need write code to add constants.
   > Graphics: Rewritten.  Needs to integrate sprites with constants.
   > IO: GetKey done.  Need to add mostly homescreen IO stuff.
Croquette:
   > Stomping bugs
   > Internet version: On hold until I can make my website less boring/broken.

Offline epic7

  • Chopin!
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2200
  • Rating: +135/-8
  • I like robots
    • View Profile
Re: Croquette IDE
« Reply #83 on: November 17, 2011, 08:16:50 pm »
It worked. When I put the program on my calc I didn't realize that it was a group file. I just ungrouped it. Even though there was only one file...

But it still worked
« Last Edit: November 17, 2011, 08:17:00 pm by epic7 »

Offline ben_g

  • Hey cool I can set a custom title now :)
  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1002
  • Rating: +125/-4
  • Asm noob
    • View Profile
    • Our programmer's team: GameCommandoSquad
Re: Croquette IDE
« Reply #84 on: December 15, 2011, 03:43:52 pm »
A line like 1.0->{L2+4}^^r doesn't tokenize correctely, becouse it sees it as a comment.

And when I want to save it as a .txt file, it saves it as .txt.8xp, and if you send that to your calc, you have a program named "PROG.TXT".
My projects
 - The Lost Survivors (Unreal Engine) ACTIVE [GameCommandoSquad main project]
 - Oxo, with single-calc multiplayer and AI (axe) RELEASED (screenshot) (topic)
 - An android version of oxo (java)  ACTIVE
 - A 3D collision detection library (axe) RELEASED! (topic)(screenshot)(more recent screenshot)(screenshot of it being used in a tilemapper)
Spoiler For inactive:
- A first person shooter with a polygon-based 3d engine. (z80, will probably be recoded in axe using GLib) ON HOLD (screenshot)
 - A java MORPG. (pc) DEEP COMA(read more)(screenshot)
 - a minecraft game in axe DEAD (source code available)
 - a 3D racing game (axe) ON HOLD (outdated screenshot of asm version)

This signature was last updated on 20/04/2015 and may be outdated

Offline Aes_Sedia5

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 13
  • Rating: +0/-0
  • Weaver Of Dreams
    • View Profile
Re: Croquette IDE
« Reply #85 on: December 15, 2011, 05:55:54 pm »
I have had some troubles with Croquette in the past, though I dont remember what all was wrong. I know a few things did not tokenize right. and Archive was Ar{chi}ve on calc. I love the croaquette features like auto indenting, and syntax coloring. I would make that my primary if it werent so buggy.



Offline ben_g

  • Hey cool I can set a custom title now :)
  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1002
  • Rating: +125/-4
  • Asm noob
    • View Profile
    • Our programmer's team: GameCommandoSquad
Re: Croquette IDE
« Reply #86 on: December 19, 2011, 04:06:37 pm »
Croquette stops responding when I tokenize this code:
Code: [Select]
.EXMPL3D

.VARS
.POSITION
.{L1}, 6BYTES
.DIRECTION
.{L1+6}, 1BYTE

0->{L1}^^r->{L1+2}^^r->{L1+4}^^r
0->{L1+6}

ClrDraw

Repeat getKey(15)

.INIT CAMERA
{L1}^^r->{L2}^^r
{L1+2}^^r->{L2+2}^^r
{L1+4}^^r->{L2+4}^^r
{L1}^^r+cos({L1+6})->{L2+6}^^r
{L1+2}^^r+sin({L1+6})->{L2+8}^^r
1.0->{L2+10}^^r->{L2+16}^^r
0->{L2+12}^^r->{L2+14}^^r
INT()

.RENDER
ClrDraw
CVT(~1.0,5.0,0)
X->V
Y->W
CVT(1.0,5.0,0)
Line(V,W,X,Y)
DispGraph

.MOVE
If getKey(4)
 cos({L1+6})**0.2+{L1}^^r->{L1}^^r
 sin({L1+6})**0.2+{L1+2}^^r->{L1+2}^^r
End
If getKey(1)
 cos({L1+6})**~0.2+{L1}^^r->{L1}^^r
 sin({L1+6})**~0.2+{L1+2}^^r->{L1+2}^^r
End
If getKey(2)
 {L1+6}++
End
If getKey(3)
 {L1+6}--
End

End
Return

.ENGINE VARS:
.FROM VEC
.{L2}, 6BYTES
.TO VEC
.{L2+6}, 6BYTES
.UP VEC
.{L2+12}, 6BYTES
.TEMP VARS
.{L2+18}, 6BYTES
.CROSS VEC
.{L2+24}, 6BYTES

Lbl INT
{L2+6}^^r-{L2}^^r->{L2+6}^^r
{L2+8}^^r-{L2+2}^^r->{L2+8}^^r
{L2+10}^^r-{L2+4}^^r->{L2+10}^^r
sqrt(({L2+6}^^r)²+({L2+8}^^r)²+({L2+10}^^r)²)^^r->{L2+18}^^r
{L2+6}^^r**({L2+18}^^r)^^-1->{L2+6}^^r
{L2+8}^^r**({L2+18}^^r)^^-1->{L2+8}^^r
{L2+10}^^r**({L2+18}^^r)^^-1->{L2+10}^^r
{L2+12}^^r**{L2+6}^^r->{L2+18}^^r
{L2+14}^^r**{L2+8}^^r->{L2+20}^^r
{L2+16}^^r**{L2+10}^^r+{L2+18}^^r+{L2+20}^^r->{L2+18}^^r
{L2+12}^^r-({L2+18}^^r**{L2+6}^^r)->{L2+12}^^r
{L2+14}^^r-({L2+18}^^r**{L2+8}^^r)->{L2+14}^^r
{L2+16}^^r-({L2+18}^^r**{L2+10}^^r)->{L2+16}^^r
sqrt(({L2+12}^^r)²+({L2+14}^^r)²+({L2+16}^^r)²)^^r->{L2+18}^^r
{L2+12}^^r**({L2+18}^^r)^^-1->{L2+12}^^r
{L2+14}^^r**({L2+18}^^r)^^-1->{L2+14}^^r
{L2+16}^^r**({L2+18}^^r)^^-1->{L2+16}^^r
{L2+14}^^r**{L2+10}^^r-({L2+16}^^r**{L2+8}^^r)->{L2+24}^^r
{L2+16}^^r**{L2+6}^^r-({L2+12}^^r**{L2+10}^^r)->{L2+26}^^r
{L2+12}^^r**{L2+8}^^r-({L2+14}^^r**{L2+6}^^r)->{L2+28)^^r
Return

Lbl CVT
r1-{L2}^^r->r1
r2-{L2+2}^^r->r2
r3-{L2+4}^^r->r3
r1**{L2+6}^^r+(r2**{L2+8}^^r)+(r3**{L2+10}^^r)->{L2+18}^^r
{L2+18}^^r<<0->{L2+20}
(r1**{L2+24}^^r+(r2**{L2+26}^^r)+(r3**{L2+28}^^r))**({L2+18}^^r)^^-1->X
(r1**{{L2+12}^^r+(r2**{L2+14}^^r)+(r3**{L2+16}^^r))**({L2+18}^^r)^^-1->Y
Return
My projects
 - The Lost Survivors (Unreal Engine) ACTIVE [GameCommandoSquad main project]
 - Oxo, with single-calc multiplayer and AI (axe) RELEASED (screenshot) (topic)
 - An android version of oxo (java)  ACTIVE
 - A 3D collision detection library (axe) RELEASED! (topic)(screenshot)(more recent screenshot)(screenshot of it being used in a tilemapper)
Spoiler For inactive:
- A first person shooter with a polygon-based 3d engine. (z80, will probably be recoded in axe using GLib) ON HOLD (screenshot)
 - A java MORPG. (pc) DEEP COMA(read more)(screenshot)
 - a minecraft game in axe DEAD (source code available)
 - a 3D racing game (axe) ON HOLD (outdated screenshot of asm version)

This signature was last updated on 20/04/2015 and may be outdated