Homebrew working on a quick little wii racing game

newo

Well-Known Member
OP
Member
Joined
Apr 7, 2011
Messages
938
Trophies
2
Website
wiibrew.org
XP
3,930
Country
Jamaica
Will test tonight! Thanks
Remember to test it with the default settings (hit reset all if you changed it). Then test it with whatever other settings you feel is necessary. Select Wii wheel and active in the motion-cntrls menu to use. I think it should be obvious to most people but any feedback helps. I can never be sure.
 
  • Like
Reactions: jeannotte

Rick328

Member
Newcomer
Joined
Jan 8, 2024
Messages
9
Trophies
0
Age
42
XP
81
Country
Canada
Alright, so I tested this Wiiwheel build and reseted all values between each run/each settings adjustments as you recommended.

1) About the remote (wiiwheel) positionning: the controls are responding correctly as long as the top of the wheel is a bit farther away from me than the bottom (think like the angle of real car steering wheel, or like accelerating with your other control scheme). But as soon as this position gets slightly inverted when the top of the wheel is closer to me than the bottom (like pointing a little more to the ceiling or like braking with your other motion control scheme), then the right/left controls becomes very snappy, similar to the problem I had that we talked about earlier in the thread. As if when a certain gyro axis value gets in a negative numbers, the controls lose any kind of center dead zone. Then, just tilting the wheel forward again in a more natural position, everything comes back to normal. I have a tendency to play with the wheel straight up to be able to use the full range of the left/right axis, so sometimes if tilting it backward just so slightly, it messes up.

2) Also, not so much of a problem than maybe an adjustment: I feel like both the sensitivity and deadzone values could benefit from a bit of a re-scaling. I find myself fiddling between 5 and 20 on both (lower end) to have smooth controls, but I think they could benefit from having a little more incrementations in this range. At the opposite, I can't imagine someone using values above 60 (upper tier) on those as it become really touchy and snappy with the smallest of remote tilting. So I'm wondering if you could take all the range between let's say 0 and 50, and scale it back to 100 (0 still is 0, inexistant 5 becomes 10, 10 becomes 20, etc, and 50 becoming the new max value of 100) That would give more needed room in the lower end for adjustments. For sure that's only my opinion, I don't know if you received opposite feedback from other motion controls user...

I tried my best to make it clear, just ask if you need something, happy to help :)
 
  • Like
Reactions: newo

newo

Well-Known Member
OP
Member
Joined
Apr 7, 2011
Messages
938
Trophies
2
Website
wiibrew.org
XP
3,930
Country
Jamaica
@Rick328 1. The wiimote pitch values become very weird when the wii button faces the player but I made some changes that hopefully fixes it. I tested it with both kinds of wiimotes+ but others might behave differently.
2. the sensitivity and deadzone now has more more range. Default sensitivity is now 100%. Deadzone is default 0. Let me know if these defaults are bad.

If you want to see the pitch value it is the 3rd line of the debug text labeled "MC: P"

Beta updated, NewoZero Beta v4.12 - download link

ID-boot_2024-02-06_17-21-57.png
 

Rick328

Member
Newcomer
Joined
Jan 8, 2024
Messages
9
Trophies
0
Age
42
XP
81
Country
Canada
Some more testing done last night:

1. Left/right control remains funky/snappy when the wiiwheel goes from straight position to slightly leaning back. Again, just leaning slightly forward and it comes back in control. So unfortunately I feel no real difference compared with build 4.1 beta.

2. The sensitivity and deadzone range expansion is great. I was previously using 15/10 respectively and now it's more like 30/20 so the scaling is good. It should allow for more room in the lower end while leaving plenty in the upper end as well.

As for default values, hard to tell but IMHO I think my settings is a good starting point: sensitivity=30, deadzone=20. I find them similar to the accessible responsiveness/forgiveness control of a game like Mariokart. Sensivitiy=100 is definitely too high, I wouldn't go higher than 50 by default on this one. For the deadzone, a minimum is required to allow for a comfortable on-center feeling or else you end up always correcting left/right... So between 10 to 20 would be good, too high and it becomes just unresponsive.

I'll continue to test some more in the coming days/weeks and let you know of my impressions.
 
Last edited by Rick328,
  • Like
Reactions: newo

newo

Well-Known Member
OP
Member
Joined
Apr 7, 2011
Messages
938
Trophies
2
Website
wiibrew.org
XP
3,930
Country
Jamaica
1. The wiimote values get really wack when the buttons are directly facing you. what type of wiimote are you using? old or the one with motionplus inside? make sure your batteries are full charged (just to eliminate that possibility). Players might have to keep the wiiwheel either straight up or totally flat.

2. The scaling is always constant along the entire range. I can do more detail in the lower vs higher.

3. defaults have been updated to 50/10. I set the sensitivity to high because playing with motion on hard cup redline is often extra difficult without quick controls.

Have you ever played uforacer? try it out and let me know if the motion controls have the same issue. I may be coding it incorrectly but no one knows what magic ninty does to make their stuff work; https://wiibrew.org/wiki/UFO_Racer

Thank you for your help! I will keep looking into the issue and inform you when I make a update to the beta. the beta link is always the same.
 
Last edited by newo,
  • Like
Reactions: Rick328

newo

Well-Known Member
OP
Member
Joined
Apr 7, 2011
Messages
938
Trophies
2
Website
wiibrew.org
XP
3,930
Country
Jamaica
New video overview of NZ just dropped on YT by djd


Post automatically merged:

Beta updated, NewoZero Beta v4.13 - download link
This is a strickly motion controls test.
I removed the sensitivity and deadzone variables so those dont do anything right now. so the beta is currently zero deadzone and max sensitivity. I think the max turn radius might need to be increased but play it and let me know how it feels. Button facing the playing is still a mistery.

ID-boot_2024-01-16_21-51-45.png
 
Last edited by newo,

Zorg07

Well-Known Member
Newcomer
Joined
Jul 14, 2019
Messages
93
Trophies
0
XP
1,012
Country
Peru
You might have to up making because I never use wads. I just run the game from the hbc. I think @Zorg07 is on this forum might still have it
Hello, if I share my fully functional wads forwarders, both for Wii and WiiU (vWii). Your work is great @newo
 

Attachments

  • Newo Zero - NEW0 (vWii).rar
    1.4 MB · Views: 15
  • Newo Zero - NEW0.rar
    1.5 MB · Views: 17

newo

Well-Known Member
OP
Member
Joined
Apr 7, 2011
Messages
938
Trophies
2
Website
wiibrew.org
XP
3,930
Country
Jamaica
released a small update v4.14 which fixes some minor bugs and adjusts the motion controls settings to include a wiiwheel setting. I also removed the button that allows you to switch camera angles during the game because of a video I saw on youtube; youtube video link

I am not sure if he is constantly pressing the button or a button setting in dolphin is causing it to fire but you can still change the camera in the pause menu.
Post automatically merged:

An old video;
 
Last edited by newo,

magarcan

Member
Newcomer
Joined
Feb 14, 2022
Messages
5
Trophies
0
Age
38
Location
Madrid
XP
94
Country
Spain
Are you using an AABB collision system or is it, OOBB? Did you implemented by yourself or are you using any kind of physics library?
 
  • Like
Reactions: newo

newo

Well-Known Member
OP
Member
Joined
Apr 7, 2011
Messages
938
Trophies
2
Website
wiibrew.org
XP
3,930
Country
Jamaica
Are you using an AABB collision system or is it, OOBB? Did you implemented by yourself or are you using any kind of physics library?
It's AABB collision along a series of points on the track. It's really simple physics system that has acceleration and friction. The turning and wall collision is also really simple case of acceleration in an opposite direction when I am inside the track wall. No physics library.
Post automatically merged:

More explanation; the player is flying between a series of cube along the track. The cubes overlap A little on the edges because of corners and hills would cause the player to fall off the track.

There is a line in the center of the cubes that determines the level of the track (front to back). If you are below this line I accel you upward.

There is a second line that goes 90+ deg left and -90 right of the current block (yellow) which are wall to wall. This determines how far to the left or right you can go before you hit the wall. That's the basic system. If you go to far left I accel you back to the center point. This can be seen if you enable track/player AABB in the debug options of the game.



So i first AABB to find which piece of track you are on, then the piece you are heading towards. Determine you up down to keep you level. Then your left right (which is a y rotation around you current point) is what keeps inside the track.



I hope this is a good enough explanation. I am not good at math so this is the best I could do given my skills. A physics engine will give you more options if you are aiming for a "realism".
 
Last edited by newo,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • Quincy @ Quincy:
    Usually when such a big title leaks the Temp will be the first to report about it (going off of historical reports here, Pokemon SV being the latest one I can recall seeing pop up here)
  • K3Nv2 @ K3Nv2:
    I still like how a freaking mp3 file hacks webos all that security defeated by text yet again
  • BigOnYa @ BigOnYa:
    They have simulators for everything nowdays, cray cray. How about a sim that shows you playing the Switch.
  • K3Nv2 @ K3Nv2:
    That's called yuzu
    +1
  • BigOnYa @ BigOnYa:
    I want a 120hz 4k tv but crazy how more expensive the 120hz over the 60hz are. Or even more crazy is the price of 8k's.
  • K3Nv2 @ K3Nv2:
    No real point since movies are 30fps
  • BigOnYa @ BigOnYa:
    Not a big movie buff, more of a gamer tbh. And Series X is 120hz 8k ready, but yea only 120hz 4k games out right now, but thinking of in the future.
  • K3Nv2 @ K3Nv2:
    Mostly why you never see TV manufacturers going post 60hz
  • BigOnYa @ BigOnYa:
    I only watch tv when i goto bed, it puts me to sleep, and I have a nas drive filled w my fav shows so i can watch them in order, commercial free. I usually watch Married w Children, or South Park
  • K3Nv2 @ K3Nv2:
    Stremio ruined my need for nas
  • BigOnYa @ BigOnYa:
    I stream from Nas to firestick, one on every tv, and use Kodi. I'm happy w it, plays everything. (I pirate/torrent shows/movies on pc, and put on nas)
  • K3Nv2 @ K3Nv2:
    Kodi repost are still pretty popular
  • BigOnYa @ BigOnYa:
    What the hell is Kodi reposts? what do you mean, or "Wut?" -xdqwerty
  • K3Nv2 @ K3Nv2:
    Google them basically web crawlers to movie sites
  • BigOnYa @ BigOnYa:
    oh you mean the 3rd party apps on Kodi, yea i know what you mean, yea there are still a few cool ones, in fact watched the new planet of the apes movie other night w wifey thru one, was good pic surprisingly, not a cam
  • BigOnYa @ BigOnYa:
    Damn, only $2.06 and free shipping. Gotta cost more for them to ship than $2.06
    +1
  • BigOnYa @ BigOnYa:
    I got my Dad a firestick for Xmas and showed him those 3rd party sites on Kodi, he loves it, all he watches anymore. He said he has got 3 letters from AT&T already about pirating, but he says f them, let them shut my internet off (He wants out of his AT&T contract anyways)
  • K3Nv2 @ K3Nv2:
    That's where stremio comes to play never got a letter about it
  • BigOnYa @ BigOnYa:
    I just use a VPN, even give him my login and password so can use it also, and he refuses, he's funny.
  • BigOnYa @ BigOnYa:
    I had to find and get him an old style flip phone even without text, cause thats what he wanted. No text, no internet, only phone calls. Old, old school.
  • Psionic Roshambo @ Psionic Roshambo:
    @BigOnYa, Lol I bought a new USB card reader thing on AliExpress last month for I think like 87 cents. Free shipping from China... It arrived it works and honestly I don't understand how it was so cheap.
    +1
    Psionic Roshambo @ Psionic Roshambo: @BigOnYa, Lol I bought a new USB card reader thing on AliExpress last month for I think like 87... +1