Giter Site home page Giter Site logo

ccigames / rii-sports Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 1.0 335.01 MB

open source fangame/port aiming to bring a better wii sports experience than switch sports

Home Page: https://gamejolt.com/games/wii-sports-remake-better-than-nintendos/691228

C# 82.33% Objective-C++ 0.13% ShaderLab 4.79% HLSL 0.85% Makefile 1.34% C++ 1.82% Assembly 8.44% C 0.04% Python 0.26%
godot switch-homebrew unity3d wii wii-sports wiifit wiimote

rii-sports's People

Contributors

ccigames avatar fgsoftware1 avatar oneproblematatime avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

fgsoftware1

rii-sports's Issues

No collision

the collision wont work between the player and the map, we also need to get the player holding the object for the baseball level and make it hit the ball, perhaps modify the code of a sword for the bat and a bullet for the ball

Error 127 compiling Wii Sports decomp

Any idea about the following errors? These errors occur when I try to compile the Wii Sports decomp.

After running make clean:

  1. Run Make command once:
    /usr/bin/env: 'python3': No such file or directory
    make: *** [makefile:142: build/asm/extab.o] Error 127

  2. Run Make command again
    /usr/bin/env: 'python3': No such file or directory
    make: *** [makefile:142: build/asm/extabindex.o] Error 127

Bat Script Review?

`using System.Collections;
using UnityEngine;

public class BatSwing : MonoBehaviour
{
public string ballName = "Ball";
private GameObject ball;
private Rigidbody ballRigidbody;
private Vector3 startSwingPosition;
private Vector3 endSwingPosition;
private float swingSpeed;
private float maxSwingSpeed = 1000.0f;
private float movementSpeed = 10.0f;
private float forceMultiplier = 10.0f;

private void Start()
{
    ball = GameObject.Find(ballName);
    ballRigidbody = ball.GetComponent<Rigidbody>();
}

private void Update()
{
    MoveBat();
    CheckBallHit();
}

private void MoveBat()
{
    float horizontal = Input.GetAxis("Horizontal");
    float vertical = Input.GetAxis("Vertical");
    transform.position += new Vector3(horizontal, 0, vertical) * movementSpeed * Time.deltaTime;

    Vector3 mousePosition = Input.mousePosition;
    mousePosition.z = transform.position.z - Camera.main.transform.position.z;
    Vector3 mouseWorldPosition = Camera.main.ScreenToWorldPoint(mousePosition);
    transform.position = new Vector3(mouseWorldPosition.x, transform.position.y, transform.position.z);

    if (Input.GetMouseButtonDown(0))
    {
        startSwingPosition = transform.position;
    }
    else if (Input.GetMouseButtonUp(0))
    {
        endSwingPosition = transform.position;
    }
}

private void CheckBallHit()
{
    if (Vector3.Distance(transform.position, ball.transform.position) < 1.0f)
    {
        float swingDistance = (endSwingPosition - startSwingPosition).magnitude;
        swingSpeed = Mathf.Clamp(swingDistance, 0.0f, maxSwingSpeed);
        Vector3 forceDirection = (ball.transform.position - transform.position).normalized;
        ballRigidbody.AddForce(forceDirection * swingSpeed * forceMultiplier);
    }
}

}`

inpu delay

player input delay on new unity version

Interesting compile issue {Error: skip (12345) or count (8) invalid for file size (6789)

Strange error when trying to compile the OGWS project.

asm/egg/gfx/eggAnalizeDL.s: Assembler messages:
asm/egg/gfx/eggAnalizeDL.s:37: Error: skip (3969432) or count (8) invalid for file size (3764768)
asm/egg/gfx/eggAnalizeDL.s:40: Error: skip (3969440) or count (8) invalid for file size (3764768)
asm/egg/gfx/eggAnalizeDL.s:43: Error: skip (3969448) or count (8) invalid for file size (3764768)
make: *** [makefile:141: build/asm/egg/gfx/eggAnalizeDL.o] Error 1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.