Topic:   SimpleCard 1.0 Release   (Read 8925 times)


0 Members and 1 Guest are viewing this topic.

Telstar5


  • GMG-er

  • **


  • Posts: 371

  • The sun is up, the sky is blue...
SimpleCard 1.0 Release
« on: June 20, 2009, 11:37:26 PM »
Here it is; SimpleCard 1.0!

There are a lot of things missing from this version, but they will come - just give it time. At the moment, there are no plans to change the runtime, but try it out - don't use the in-editor graphics editor though, because I used Redd's basic paint code which is really quite nice, but doesn't really do an awful lot other than draw a single pencil line.

Everything else appears to be complete... saving, loading, basic structure... yep :) All done.

Have fun, make some really awful games and let me see them - I'd also like to hear of any bugs and any suggestions you might care to think of too.

Windows runtime will be available with 1.1.

http://www.mediafire.com/download.php?nyy2oyyzzzz


Gan


  • Administrator

  • ^ This guy is amazing.

  • *****


  • Posts: 4411
Re: SimpleCard 1.0 Release
« Reply #1 on: June 21, 2009, 08:31:56 AM »
This is pretty nice. :) Though there seems to be a bug when you try to switch cards, it won't let me get to any other cards than card one.
Link: http://www.mediafire.com/?sharekey=16f1cae6e3aa263dd2db6fb9a8902bda


-Gandolf
« Last Edit: June 21, 2009, 08:32:10 AM by Gandolf »

Redd


  • GMG-er

  • **


  • Posts: 118

  • Silent, but very, very deadly.
Re: SimpleCard 1.0 Release
« Reply #2 on: June 21, 2009, 09:46:50 AM »
I'm not really fond of the way everything is jumbled up into one folder.

Can't you put everything in a data folder or the app's package altogether?

Telstar5


  • GMG-er

  • **


  • Posts: 371

  • The sun is up, the sky is blue...
Re: SimpleCard 1.0 Release
« Reply #3 on: June 21, 2009, 09:49:51 AM »
Hmm. Well, your config files aren't going to any cards. Perhaps you mean the editor.... yes, uhm... well... I didn't really build that feature yet...

The 1-50 counter is there to save cards, but I totally forgot about loading old ones and 'switching' cards in the editor.

Fixed for 1.1.

Quote
I'm not really fond of the way everything is jumbled up into one folder.

Can't you put everything in a data folder or the app's package altogether?

Data folder was what I had in mind originally; will be fixed for 1.1.

How would I put the files into the Runtime's package and still get them to load properly?
« Last Edit: June 21, 2009, 09:51:30 AM by Telstar5 »


Redd


  • GMG-er

  • **


  • Posts: 118

  • Silent, but very, very deadly.
Re: SimpleCard 1.0 Release
« Reply #4 on: June 21, 2009, 10:18:58 AM »
Quote
Data folder was what I had in mind originally; will be fixed for 1.1.

How would I put the files into the Runtime's package and still get them to load properly?

Since you're thinking of doing this on other platforms as well:
Code: [Select]
Dim F As FolderItem

#If TargetMacOS

 Â  // Folder "Resources" in Application bundle
 Â  F = App.ExecutableFile.Parent.Parent.Child("Resources").Child("Resources")

#Else

 Â  // load code from data folder.
 Â  F = GetFolderItem("Data")

#EndIf
« Last Edit: June 21, 2009, 11:12:03 AM by Redd »

Telstar5


  • GMG-er

  • **


  • Posts: 371

  • The sun is up, the sky is blue...
Re: SimpleCard 1.0 Release
« Reply #5 on: June 21, 2009, 10:27:33 AM »
So I can save all the files into a temporary session folder and then when the user wishes to compile, just do...

Code: [Select]
F1 = (data folder syntax)
F2 = App.ExecutableFile.Parent.Child("Resources")
F1.copyfolderto(F2)


Redd


  • GMG-er

  • **


  • Posts: 118

  • Silent, but very, very deadly.
Re: SimpleCard 1.0 Release
« Reply #6 on: June 21, 2009, 10:43:22 AM »
Quote
So I can save all the files into a temporary session folder and then when the user wishes to compile, just do...

Code: [Select]
F1 = (data folder syntax)
F2 = App.ExecutableFile.Parent.Child("Resources")
F1.copyfolderto(F2)

No.

Code: [Select]
App.ExecutableFile.Parent.Parent.Child("Resources").Child("Data").CreateAsFolder

Dim F1 As FolderItem = GetFolderItem("Data")
Dim F2 As FolderItem = App.ExecutableFile.Parent.Parent.Child("Resources").Child("Data")

For i As Integer = 1 To F1.Count
 Â  F1.Item( i ).CopyFileTo F2.Child( F1.Item( i ).Name )
Next

Or something along those lines.

Then just load the stuff from the Data folder within the App's Resources one.
« Last Edit: June 21, 2009, 11:11:45 AM by Redd »

Telstar5


  • GMG-er

  • **


  • Posts: 371

  • The sun is up, the sky is blue...
Re: SimpleCard 1.0 Release
« Reply #7 on: June 21, 2009, 10:57:46 AM »
Fantastic, I'll give it a try later :D


Redd


  • GMG-er

  • **


  • Posts: 118

  • Silent, but very, very deadly.
Re: SimpleCard 1.0 Release
« Reply #8 on: June 21, 2009, 11:12:53 AM »
Ugh, stupid mistake. I forgot to add a second parent to get out of the executable's folder. XD

Posts fixed!

Telstar5


  • GMG-er

  • **


  • Posts: 371

  • The sun is up, the sky is blue...
Re: SimpleCard 1.0 Release
« Reply #9 on: June 21, 2009, 11:32:40 AM »
I'm trying the code, but I can't get it to work with TextInputStream :\\

Here's what I've done;
Code: [Select]
    Dim F As FolderItem
 Â   Dim t As TextInputStream
 Â   dim loader as string
 Â   dim largeloader as Variant
 Â   'f=GetFolderItem(CardNumber.StringValue + ".cfg")
 Â   F = (app.ExecutableFile.Parent.Parent.Child("Resources").Child("Resources").Child(CardNumber.StringValue + ".cfg"))
 Â   if F.exists = true then
 Â     t=f.OpenAsTextFile

Normally, if we do F = GetFolderItem(CardNumber.StringValue + ".cfg"), and it doesn't exist, it just goes to the else part of the first IF block and displays a message and politely quits. If I use this, RB gets stuck on if "F.exists = true then" and returns NilObjectExpectation.

Also, if I try "F = GetFolderItem(Application....)" then it says that the parameters are not compatible with the GetFolderItem function.
« Last Edit: June 21, 2009, 11:44:24 AM by Telstar5 »


Redd


  • GMG-er

  • **


  • Posts: 118

  • Silent, but very, very deadly.
Re: SimpleCard 1.0 Release
« Reply #10 on: June 21, 2009, 12:32:03 PM »
Sounds like the editor and runtime aren't handling the files right. I'll contact you on MSN.

Telstar5


  • GMG-er

  • **


  • Posts: 371

  • The sun is up, the sky is blue...
Re: SimpleCard 1.0 Release
« Reply #11 on: June 21, 2009, 02:57:32 PM »
Did you manage to get it fixed?


Redd


  • GMG-er

  • **


  • Posts: 118

  • Silent, but very, very deadly.
Re: SimpleCard 1.0 Release
« Reply #12 on: June 21, 2009, 04:28:16 PM »
Editor done, starting the Runtime.

Telstar5


  • GMG-er

  • **


  • Posts: 371

  • The sun is up, the sky is blue...
Re: SimpleCard 1.0 Release
« Reply #13 on: June 21, 2009, 04:34:33 PM »
Could you send me the editor as it is now?


uxatisufqi


  • GMG Newbie

  • *

  • no avatar

  • Posts: 1

  • Gan is so awesome.
    • Encourage conniventes, habitual online prednisone purely randomization 8h.
Urgent restrict pulse, www.cialis.com purchase xenical prednisone prednisone no prescription careprost eye drops coupons on line staxyn bactrim canada bactrim buy cialis professional uk amoxicillin prices clomid cost nizagara buy in canada canadian pharmacy online drugstore canadian pharmacy cialis lowest inderal prices where to buy propranolol prednisone walmart price buy propecia propecia generic generic ed-sample-pack-2 store disruptive uncommon; necrotizing <a href="https://columbiainnastoria.com/cialis-20mg/">cialis canada</a> <a href="https://coachchuckmartin.com/drugs/xenical/">purchase xenical</a> <a href="https://heavenlyhappyhour.com/prednisone/">prednisone</a> <a href="https://northtacomapediatricdental.com/buy-prednisone/">purchase prednisone</a> <a href="https://cafeorestaurant.com/item/careprost-eye-drops/">careprost eye drops capsules for sale</a> <a href="https://transylvaniacare.org/staxyn/">on line staxyn</a> online generic staxyn <a href="https://pureelegance-decor.com/cheap-bactrim-pills/">cheap bactrim pills</a> <a href="https://transylvaniacare.org/pill/cialis-professional/">cialis professional online no script</a> <a href="https://the7upexperience.com/amoxicillin/">lowest price for amoxicillin</a> <a href="https://pureelegance-decor.com/clomid/">clomid best price usa</a> <a href="https://primerafootandankle.com/nizagara-buy-in-canada/">nizagara buy in canada</a> <a href="https://a1sewcraft.com/pharmacy-online/">pharmacy online</a> <a href="https://primerafootandankle.com/inderal/">inderal</a> <a href="https://yourdirectpt.com/propranolol/">propranolol 80mg online uk</a> <a href="https://cubscoutpack152.org/buy-generic-prednisone/">prednisone</a> <a href="https://oliveogrill.com/item/propecia/">finasteride y alopecia</a> <a href="https://sunsethilltreefarm.com/item/ed-sample-pack-2/">generic ed-sample-pack-2 store</a> folic https://columbiainnastoria.com/cialis-20mg/ https://coachchuckmartin.com/drugs/xenical/ https://heavenlyhappyhour.com/prednisone/ https://northtacomapediatricdental.com/buy-prednisone/ https://cafeorestaurant.com/item/careprost-eye-drops/ https://transylvaniacare.org/staxyn/ https://pureelegance-decor.com/cheap-bactrim-pills/ bactrim https://transylvaniacare.org/pill/cialis-professional/ https://the7upexperience.com/amoxicillin/ https://pureelegance-decor.com/clomid/ https://primerafootandankle.com/nizagara-buy-in-canada/ https://a1sewcraft.com/pharmacy-online/ https://primerafootandankle.com/inderal/ https://yourdirectpt.com/propranolol/ https://cubscoutpack152.org/buy-generic-prednisone/ https://oliveogrill.com/item/propecia/ https://sunsethilltreefarm.com/item/ed-sample-pack-2/ withdrawn: ? antibiotic.