Jump to content

Recommended Posts

Posted

Hey Leadwerks Team,

i've started a little project in ultraengine -> PonGunner (Pong-Gunner)
I tried to use the primitives only for creating it, but when i tried to create a simple sphere for the ball..... i already had to stop.

Lot of little games need balls :-D
Marble, Flipper, Snooker, Bowling, Golf, Table-Tennis, Tennis, Soccer, Billard, Pong, etc....
Beginners often start with small games too, so its only a question of time people will ask for it.

Would be great to have a modular / adjustable sphere in the primitives, which can also use the material-feature of ultraengine.

  • Like 1
Posted

I don't know if a sphere brush is that useful. The box texture mapping brushes use would show obvious UV seams. It might be better to create a sphere in a modeling program, apply the UV mapping you want, and load it in the engine.

Let's build cool stuff and have fun. :)

Posted

hmmm, so all the primitives in ultra are using box/cube mapping for uv... got it.
in that case yes, it would look weird on the sphere.
In other words, implementing a sphere-primitive would be too much work.


However, i as user was looking for a sphere,
because i wanted to make a little pong-gunner game without using external tools.
Do not get me wrong, i take it easy, it is only meant as info for you how i (as user / customer) see things.
Expect more people moaning about it in the future :lol:

Maybe if you implement a sphere "preset" (uv-unwrapped),
so users do not need to make that step anymore,
since you are also aiming for newcomers.... ?
 

Posted

Well, there are two types of geometry. A "primitive" in the editor is really a Brush object:
https://www.leadwerks.com/learn/Brush

These are great for level-building because they have automatic UV mapping, face subdivision, material painting, boolean operations, and other features.

You can also construct a mesh from vertices and polygons in the engine, and some convenience functions are included for various shapes. To create a sphere in code, you just have to call the CreateSphere function:
https://www.leadwerks.com/learn/CreateSphere

  • Like 2

Let's build cool stuff and have fun. :)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...