Is this possible..?

Hello,

I’ve been thinking about something for quite some time, and was wondering if it is possible to achieve with corona, or if I should try and do it in unity. Mind you, I am a rookie at this.

If you remember the old simtractor game, it was a birds eye view of a farm. I would like to create a farm, which wouldn’t be to hard I don’t think, that you can scroll around on. You have different vehicles. Such as a tractor, seeder, cultivator, sprayer, combine, and grain truck.

Would it be possible to create something that can be driven from a birds eye view with say… A D-Pad? I know there are some good tuts out there, but the animation for steering is what I would struggle with.

Secondly, the driving in the field. How could I implement a feature so a “texture” changes when driven over with the cultivator? Would that be hard? If there is a way to do this, please let me know!

I know this would be quite a project, but I’m willing to try! But just don’t know if some of the features are achievable with corona, or if I’d have to use unity3D

Thank you,
Rf928 [import]uid: 28237 topic_id: 32282 reply_id: 332282[/import]

Hello @rf928,

All of this is fully possible using Corona, except for your suggestion of using Unity3D… are you aiming for a 3D-modeled farm here? Corona doesn’t do 3D at all, so if that’s your requirement, it’s not suitable.

But in terms of a 2D world, this is fully possible… a D-Pad or “virtual joystick” has been exhibited in various tutorials, and changing “textures” is possible using the physics collision engine, or simply using mathematical methods to compare the location of the cultivator and the section of the field.

So, the answer is a resounding YES, this can all be done in Corona, except for modeling a 3D world. :slight_smile:

Best of luck!
Brent Sorrentino [import]uid: 9747 topic_id: 32282 reply_id: 128433[/import]

Hello!

I am not planning on using the 3D part of unity, just wasn’t sure if the textures would be possible with Corona.

So as far as textures, using the collision engine, how would I make it “trail” the image of the tractor? I do see what your meaning there. As well as the checking of position of “Player” and adjusting textures based on that.

Just something I may have planned after release of my current project, and deciding wether to stay with corona or look into Unity3D.

Thank you very much,
Ryley [import]uid: 28237 topic_id: 32282 reply_id: 128448[/import]

Hi Ryley,

I should clarify a bit, Corona doesn’t use “textures” in a way that Unity3D would. You don’t paint objects or surfaces with texture maps. In Corona, you use display objects… images, vector objects, or sprites… and position them in the 2D world in z-indexed layers (groups).

For your purposes, you could paint or change the sprite frame of tiles or objects that the cultivator drives over (tiles could be square, hexagonal, whatever). You also have a certain amount of control using “blend modes” of display objects such as multiply, add, screen, etc. in addition to opacity.

It’s hard for me to envision exactly how your concept would look, visually, but I just wanted to clarify the differences between a display-object-based 2D engine like Corona, and a “textured 3D polygon” engine like Unity3D (which, after all, uses 3D objects even for games which appear 2D in style).

Brent [import]uid: 9747 topic_id: 32282 reply_id: 128536[/import]

Hello @rf928,

All of this is fully possible using Corona, except for your suggestion of using Unity3D… are you aiming for a 3D-modeled farm here? Corona doesn’t do 3D at all, so if that’s your requirement, it’s not suitable.

But in terms of a 2D world, this is fully possible… a D-Pad or “virtual joystick” has been exhibited in various tutorials, and changing “textures” is possible using the physics collision engine, or simply using mathematical methods to compare the location of the cultivator and the section of the field.

So, the answer is a resounding YES, this can all be done in Corona, except for modeling a 3D world. :slight_smile:

Best of luck!
Brent Sorrentino [import]uid: 9747 topic_id: 32282 reply_id: 128433[/import]

Hello!

I am not planning on using the 3D part of unity, just wasn’t sure if the textures would be possible with Corona.

So as far as textures, using the collision engine, how would I make it “trail” the image of the tractor? I do see what your meaning there. As well as the checking of position of “Player” and adjusting textures based on that.

Just something I may have planned after release of my current project, and deciding wether to stay with corona or look into Unity3D.

Thank you very much,
Ryley [import]uid: 28237 topic_id: 32282 reply_id: 128448[/import]

Hi Ryley,

I should clarify a bit, Corona doesn’t use “textures” in a way that Unity3D would. You don’t paint objects or surfaces with texture maps. In Corona, you use display objects… images, vector objects, or sprites… and position them in the 2D world in z-indexed layers (groups).

For your purposes, you could paint or change the sprite frame of tiles or objects that the cultivator drives over (tiles could be square, hexagonal, whatever). You also have a certain amount of control using “blend modes” of display objects such as multiply, add, screen, etc. in addition to opacity.

It’s hard for me to envision exactly how your concept would look, visually, but I just wanted to clarify the differences between a display-object-based 2D engine like Corona, and a “textured 3D polygon” engine like Unity3D (which, after all, uses 3D objects even for games which appear 2D in style).

Brent [import]uid: 9747 topic_id: 32282 reply_id: 128536[/import]

Hey,

Sorry for a late response, got caught up with some things.

I have looked into it quite a bit using the methods you described, and have decided for this type of project it would be best to go with Unity3D. But I do really appreciate your descriptions, came in handy when researching how to do things. It is great to know there is such an active community behind Corona, and it makes me super pumped to continue to work on the project I have under you guys.

Thank you again,
Rf928/Ryley [import]uid: 28237 topic_id: 32282 reply_id: 129179[/import]

Hey,

Sorry for a late response, got caught up with some things.

I have looked into it quite a bit using the methods you described, and have decided for this type of project it would be best to go with Unity3D. But I do really appreciate your descriptions, came in handy when researching how to do things. It is great to know there is such an active community behind Corona, and it makes me super pumped to continue to work on the project I have under you guys.

Thank you again,
Rf928/Ryley [import]uid: 28237 topic_id: 32282 reply_id: 129179[/import]