Welcome, Guest. Please login or register.

Login with username, password and session length

 
Advanced search

1411275 Posts in 69323 Topics- by 58380 Members - Latest Member: bob1029

March 28, 2024, 05:40:59 AM

Need hosting? Check out Digital Ocean
(more details in this thread)
TIGSource ForumsDeveloperTechnical (Moderator: ThemsAllTook)POLYCODE (2D and 3D engine)
Pages: 1 [2] 3 4 ... 7
Print
Author Topic: POLYCODE (2D and 3D engine)  (Read 27450 times)
Movius
Guest
« Reply #20 on: June 05, 2011, 07:26:51 AM »

I've been fooling around with the C++ library a bit over the weekend. I got the hang of it really quickly and it has a good mix of features and ease of use.
Logged
Nugsy
Level 10
*****



View Profile
« Reply #21 on: June 05, 2011, 07:32:02 AM »

I notice it says on the site that Polycode can be used for networking, but there isn't a section in the tutorials that covers it. Is this something you are going to add at a later date?
Logged


Ivan
Owl Country
Level 10
*


alright, let's see what we can see


View Profile
« Reply #22 on: June 05, 2011, 08:49:40 AM »

Hey Nugsy,

Indeed, it's a module which hasn't been released yet. I am working on writing documentation and cleaning it up this week, so hopefully before next weekend it and some of the other modules are going to be released.
Logged

http://polycode.org/ - Free, cross-platform, open-source engine.
Nugsy
Level 10
*****



View Profile
« Reply #23 on: June 05, 2011, 10:04:11 AM »

I'll be keeping my ears open and my eyes peeled. Hand Thumbs Up Left
Logged


Eibx
Level 0
***


ヽ༼ ಠل͟ರೃ ༽ノ


View Profile
« Reply #24 on: June 07, 2011, 01:47:11 PM »

Looks very awesome, I will definitely check it out once the network module is released.  Hand Thumbs Up Right

Also - bad ass name.
Logged

"You need to be logged in to log out. Please log in to log out."
Snowdrama
Level 1
*


It, Happens...


View Profile WWW
« Reply #25 on: June 07, 2011, 07:06:18 PM »

Looks very awesome, I will definitely check it out once the network module is released.  Hand Thumbs Up Right

Also - bad ass name.

Agreed, Bad ass name is right! Cant wait for some Linux support though! I hate loading Windows 7 on my 1GB Ram 2.6GHz AMD Turion Mobile 64.

Still this Project looks to be Great! Keep up the good work!
Logged

Jeez did I really sign up 6 years ago?

Still making games. One day i'll get something done.

Tools: PHP/JS/HTML5/Unity3D/C#/LibGDX/Gimp/Photoshop
moi
Level 10
*****


DILF SANTA


View Profile WWW
« Reply #26 on: June 15, 2011, 04:40:51 PM »

"Next week"...
(I'm still waiting on that Retro Game System release lol)
Logged

subsystems   subsystems   subsystems
Ivan
Owl Country
Level 10
*


alright, let's see what we can see


View Profile
« Reply #27 on: June 15, 2011, 05:59:42 PM »

"Next week"...
(I'm still waiting on that Retro Game System release lol)

You know, technically, that WAS released (http://code.google.com/p/librgs/)  Gentleman  Just quickly abandoned as all my efforts were rechanneled into Polycode.
Logged

http://polycode.org/ - Free, cross-platform, open-source engine.
moi
Level 10
*****


DILF SANTA


View Profile WWW
« Reply #28 on: June 16, 2011, 05:02:09 AM »

The RGS was a good little engine  Gentleman
Logged

subsystems   subsystems   subsystems
knight
Level 3
***

aka dude4k


View Profile
« Reply #29 on: June 16, 2011, 07:36:32 AM »

How has the 64 bit support been coming along?
Logged
Hima
Level 4
****


OM NOM NOM


View Profile WWW
« Reply #30 on: June 16, 2011, 09:26:34 PM »

I really like this. I look through the tutorial and the code looks clean and very easy to understand. Thank you for making something this awesome and release it for free & opensource  Gentleman
Logged

Tuba
Level 10
*****



View Profile WWW
« Reply #31 on: June 23, 2011, 01:33:46 PM »

Followed some of the tutorials and I'm liking how the 3D works, so simple. Smiley

Considering it for some future projects, keep the good work!  Beer!
Logged

Nugsy
Level 10
*****



View Profile
« Reply #32 on: June 25, 2011, 06:16:16 AM »

Hey guys, i'm currently giving the Lua standalone a go but i've run into an issue.

I didn't really understand the link from the tutorials that explains how to build from command line, so i placed my project files in the same folder as polybuild.exe and created a shortcut in that folder with the command line attached to the end of the target for the shortcut.

However, now i have added

Code:
       <packedItems>
                <item path="Resources" type="folder"/>
                <item path="polycode_logo.png" type="file"/>
        </packedItems>

into my .xml file, polybuild.exe crashes everytime i try to build the app.

The reason i added this is because i couldn't get images to draw using just ScreenImage() alone, so i figured the above code not being in the .xml file was probably the reason.

Any help you can offer is appreciated, as always! Also if you have any additional information on building from command line, that would be awesome.

Cheers! Coffee
Logged


Snowdrama
Level 1
*


It, Happens...


View Profile WWW
« Reply #33 on: June 25, 2011, 07:52:10 AM »

I had an issue with this as well, Make sure the logo is in the base folder as if the image is in the resources folder then it would be something like:

Code:
        <packedItems>
                <item path="Resources\polycode_logo.png" type="file"/>
        </packedItems>

its confusing but if the image is in the resources folder and the program is looking for it in the base folder, it will crash cause the image doesn't exist.
Logged

Jeez did I really sign up 6 years ago?

Still making games. One day i'll get something done.

Tools: PHP/JS/HTML5/Unity3D/C#/LibGDX/Gimp/Photoshop
Nugsy
Level 10
*****



View Profile
« Reply #34 on: June 25, 2011, 08:01:55 AM »

Hmm i'm still getting the other error i was having, which is where the image appears as a purple checkered square. At least it doesn't crash now haha! I'll post my code so that it is more obvious if there are any glaring errors.

test.xml
Code:
<PolycodeProject defaultWidth="640" defaultHeight="480" antiAliasingLevel="0">
        <backgroundColor red="0.25" green="0.25" blue="0.25" />
        <entryPoint>test.lua</entryPoint>
        <packedItems>
<item path="gfx" type="folder"/>
                <item path="gfx\polycode_logo.png" type="file"/>
        </packedItems>
</PolycodeProject>

test.lua
Code:
screen = Screen()
image = ScreenImage("polycode_logo.png")
screen:addChild(image)

and polycode_logo.png is placed in the folder "gfx". I still wonder if it is something to do with how i am compiling.

Thankyou for your help, Jay_PC. Smiley

Edit: I also just tried
Code:
screen = Screen()
image = ScreenImage("gfx\polycode_logo.png")
screen:addChild(image)
but still no luck. Sad
Logged


oahda
Level 10
*****



View Profile
« Reply #35 on: June 25, 2011, 09:09:38 AM »

Try using / instead of \... \ is not a good practice anyway.
Logged

increpare
Guest
« Reply #36 on: June 25, 2011, 09:16:51 AM »

If you include the folder in the xml, you don't need to include the individual files I think?
Logged
Nugsy
Level 10
*****



View Profile
« Reply #37 on: June 25, 2011, 05:34:46 PM »

Try using / instead of \... \ is not a good practice anyway.
I dont know what happened there, i never use "\"!

Combining all suggestions and a little of my own brainpower i managed to get it working haha.
The final code looks like this, for anyone having the same issue:

test.xml
Code:
<PolycodeProject defaultWidth="640" defaultHeight="480" antiAliasingLevel="0">
        <backgroundColor red="0.25" green="0.25" blue="0.25" />
        <entryPoint>test.lua</entryPoint>
        <packedItems>
<item path="gfx" type="folder"/>
        </packedItems>
</PolycodeProject>

test.lua
Code:
screen = Screen()
image = ScreenImage("gfx/polycode_logo.png")
screen:addChild(image)

Thanks for the help folks! Hand Thumbs Up Left
Logged


Snowdrama
Level 1
*


It, Happens...


View Profile WWW
« Reply #38 on: June 25, 2011, 07:14:36 PM »

Sorry that might have been my fault, I used \ instead of / Sorry hahaha. I dont use \ either, but for some reason I had a brain fart and used \
Logged

Jeez did I really sign up 6 years ago?

Still making games. One day i'll get something done.

Tools: PHP/JS/HTML5/Unity3D/C#/LibGDX/Gimp/Photoshop
Ivan
Owl Country
Level 10
*


alright, let's see what we can see


View Profile
« Reply #39 on: June 27, 2011, 09:09:33 AM »

Hey, yeah, sorry, there are issues with relative paths right now (like using ../ or ./ and such). I'll try to get it worked out in the next release. Glad you got it working! Smiley

And thank you for the positive feedback everyone! I'm glad that folks are finding it useful and easy to understand!
Logged

http://polycode.org/ - Free, cross-platform, open-source engine.
Pages: 1 [2] 3 4 ... 7
Print
Jump to:  

Theme orange-lt created by panic