^^ also the little button on top breaks constantly lol
Fire tablets with an error bring up the Android restore. On youtube it thinks it is Android
Is a fire tablet built on Android???
i believe so, but im not positive
I read you have experience using Unity.
Is there code in C# like “Floor” to detect if an object has ground or anything beneath it?
I made a “Ray” that extends from an objects centre down till it just pokes beneath the object.
So when the ray is touching anything other than the Object it’s attached to and a button is tapped, the object will jump.
This seems to be working well to detect if the host Objects touching the ground or whatever beneath it.
Disclaimer: I know a little bit about Unity but I’m not an expert with it (I haven’t used it as much as other engines and libraries).
What I do know (both from prior knowledge of other engines and a video I just watched) is that your raycasting method should be pretty consistent! There’s a good video about it from Code Monkey on YouTube if you need a good reference.
TL;DR on the things I learned from that video:
- You can handle collision by pointing a ray downwards towards a platform, with a specific distance (long enough to hit the platform and pass through your player’s collision box if needed).
- Make sure to split your scene into layers (one for the player/its collider, and one for the level collision) so you only raytrace the level layer.
- Use a Boxcast instead of a Raycast so your player can stand on the edge of platforms.
I wish youluck!
I have a computer intended for Windows 7
It’s been through 8, 8.something,10.
I’m not updating it to 11 because, it can’t even load into playing a roblox game without taking minimun 1 minute. I don’t and won’t use it anymore
Could you please help me?
I want an object called BALL to continuously set a random position between x positions 0 to 1000, and Y positions 0 to 1000.
Could you please copy and edit this code with the changes needed to do this?
I don’t need scale or rotation code.
Is this code you wrote?
-
Math.random() * (maxX -minX) + minX
looks correct to me. -
First, it looks like you’d want a new function to modify an entity instead of creating one
-
If you want something to continuously be set, you’d usually use something like
requestAnimationFrame
(do a quick search to learn more about that). -
In the animation frame tick function (part of requestAnimationFrame if you look that up), you can set the attributes Min/Max X/Y to what you want the min and max to be, then call the
updateEntity
function. -
Inside the
updateEntity
function, you could doent.setPosition(randomX, randomY, 0)
, whererandomX
andrandomY
are the same as in thesignal
function
Thanks, i’ll try and do what you said.
Yes, Fire devices use a custom Android ROM. I remember I had a Kindle Fire a while back and my dad showed me how to put Glazed ICS (a more standard ROM) on it. My mind was blown haha
lol a robot just coded ping pong for me
wow thats so cool
Is iOS 16 any good?
Can you use any font for the lock screen or just a few?
unfortunately just a few, 8 if i remember well (maybe 10, but you get the idea youre very limited)
also how?? Robot coding games would be so fun
I discovered a few tricks with Shortcuts, especially with Calculate Expression.
- + is addition
- - is subtraction
- * is multiplication
- / is division
- floor is floor (obviously)
- ceil is ceiling
- ^ is power
- % is modulo
- sqrt is square root
- cbrt is cube root
- sin, cos, and tan are Sine, Cosine, and Tangent respectively
- sinh, cosh, and tanh are Hyperbolic Sine, Hyperbolic Cosine, and Hyperbolic Tangent
- pi is the literal pi (3.14159265358979)
- e is Euler’s number
- log is logarithm
- ln is Natural Log
- ! is factorial
- E is x10^x (case sensitive)
- () is a group (for PEMDAS)
There’s are all symbols I found that works.
- fmod(a, b) is also modulo
- fabs(a) = absolute value
- rint(a) = round
- integer is integer (obviously) same as floor(a)
- precision=# returns a fixed number (precision=2 pi returns 3.14)
Processing.js is a direct import of Processing to javascript. I don’t know if I should learn p5.js or Processing. I’ll probably try Processing because it is related to java which I have never learnt. There is also openprocessing.org.
Processing.js was archived a couple years ago. That means that they stopped working on Processing.js, so I’d recommend learning p5.js instead! It doesn’t have that many differences from Processing.
Maybe I’ll learn both so when i code in js and java i can add them to libraries.